[C++-sig] Re: return_existing_reference

David Abrahams dave at boost-consulting.com
Mon Sep 29 20:06:03 CEST 2003


"Niall Douglas" <s_sourceforge at nedprod.com> writes:

> Out of interest (couldn't find this in the docs), if the C++ code 
> returns a NULL pointer does Boost.Python translate this under 
> return_existing_reference and return_internal_reference as None?

Yes.  You can see that in the tests, if not in the docs (not that
that is any excuse for not documenting it).

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list