[C++-sig] Re: const char arrays

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Aug 5 20:47:33 CEST 2003


--- David Abrahams <dave at boost-consulting.com> wrote:
> "Niall Douglas" <s_sourceforge at nedprod.com> writes:
> > Problem is that slot_rvalue_from_python<> in builtin_converters.hpp 
> > is in an unnamed namespace and so therefore is inaccessible to me :(
> 
> I think you should read up on unnamed namespaces again.  Anyway, that
> template is in a source file, for good reason.  It's not for public
> consumption.
> 
> I suggest you follow the example set in item 2 here:
> http://www.boost.org/libs/python/doc/v2/faq.html#question2

You may also like to read the three old messages listed under "Custom rvalue
converters" near the top of this page:

http://cci.lbl.gov/~rwgk/boost_python/

In particular, the third link should be highly relevant.

Ralf


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




More information about the Cplusplus-sig mailing list