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

Stefan Seefeld seefeld at sympatico.ca
Fri Oct 19 00:06:37 CEST 2007


Matthew Scouten wrote:
> 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++?

return boost::python::object();

HTH,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list