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,