[C++-sig] I can't get None

Alex Mohr amohr at pixar.com
Fri Oct 19 00:04:23 CEST 2007


> I want to return None from a c++ function.
> I have googled for how to do this with no good results.
> How do I get an object with None in c++?

boost::python::object none;

Alex




More information about the Cplusplus-sig mailing list