c++ - None in boost.python -


I am trying to translate the following code

  d = {} d [0] = any  

with boost.python in C ++

  boost :: python :: dict d; D [0] =? None  

How can I get any item in boost.python?

boost :: python :: object is not a constructor PyObject * (I think, for example, a CTO such as mapping the python types to C ++ types invalidates the whole idea, because PyObject * can be anything). According to:

object ();

Effects: Python Any object.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -