Re: [C++-sig] object constructor + integer == fail

2009-10-13 Thread Daniel Löb
troy d. straszheim wrote: Daniel Löb wrote: Hi! I seem to be unable to call the constructor of "object" with an integer parameter. Working example: #include #include using namespace boost::python; using std::cout; using std::endl; int main() { object toast(3); cout << extract(toa

Re: [C++-sig] object constructor + integer == fail

2009-10-13 Thread troy d. straszheim
Daniel Löb wrote: Hi! I seem to be unable to call the constructor of "object" with an integer parameter. Working example: #include #include using namespace boost::python; using std::cout; using std::endl; int main() { object toast(3); cout << extract(toast) << endl; } It compiles

[C++-sig] object constructor + integer == fail

2009-10-13 Thread Daniel Löb
Hi! I seem to be unable to call the constructor of "object" with an integer parameter. Working example: #include #include using namespace boost::python; using std::cout; using std::endl; int main() { object toast(3); cout << extract(toast) << endl; } It compiles just fine,