Skip to content Skip to sidebar Skip to footer
Showing posts with the label Boost

How Do I Import A Class In A .py File From C++ Using Boost/python?

EDIT : Looks like I've messed up the solution from the second post, but it's still giving m… Read more How Do I Import A Class In A .py File From C++ Using Boost/python?

Create Boost-python Nested Namespace

Using boost python I need create nested namespace. Assume I have following cpp class structure: nam… Read more Create Boost-python Nested Namespace

Add Member Functions To A Boost Python Class After The Fact?

In Boost Python, you can expose a C++ class to Python like this: object obj = class_ ('MyClass&… Read more Add Member Functions To A Boost Python Class After The Fact?

How To Wrap Functions Overloaded By Type?

Suppose there is a class MyArray which implements an array of SomeType. It is written in C++ and wr… Read more How To Wrap Functions Overloaded By Type?

Boost.python Custom Converter

I have a class taking a vector as parameter (a binary file content). I would like to convert python… Read more Boost.python Custom Converter

Using Unique_ptr With Boost Python - Boost::shared_ptr Works But Unique_ptr Doesnt

This may be the same issue as Boost Python No to_python for std::unique_ptr However, i haven't … Read more Using Unique_ptr With Boost Python - Boost::shared_ptr Works But Unique_ptr Doesnt

What Happens During And After Boost::python::import?

The Boost documentation does not specify this. When I use boost::python::import, where exactly is t… Read more What Happens During And After Boost::python::import?

Crash On Call From Boost::python::exec( Anything )

I'm trying to implement some Python stuff into my program and I've decided to use Boost::Py… Read more Crash On Call From Boost::python::exec( Anything )