Re: [C++-sig] Compile error when using exception_translation.hpp

2009-10-13 Thread Ralf W. Grosse-Kunstleve
translate_exception.hpp is in the "detail" directory. The convention is that this isn't a public interface. #include fixes your problem (at least under Fedora 8). Ralf - Original Message From: Ger van Diepen To: boost-us...@lists.boost.org; cplusplus-sig@python.org Sent: Mon, October

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,

Re: [C++-sig] Cplusplus-sig Digest, Vol 13, Issue 11

2009-10-13 Thread Pim Schellart
Dear Ravi, thanks for the link. I'll be sure to try that. Any chance this will be included (and documented) in boost python? Numpy is needed for just about any scientific software package using Python and it would be a real plus if boost Python had an easy to use interface to C++ for it. Kind reg