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
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
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
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,
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