[C++-sig] rvalue custom converters ( was Protected destructor compile error )

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Fri Jun 23 21:54:24 CEST 2006

--- Roman Yakovenko <roman.yakovenko at gmail.com> wrote:

> On 6/23/06, Ralf W. Grosse-Kunstleve <rwgk at yahoo.com> wrote:
> > Boost.Python also supports custom rvalue converters. See the FAQ for
> examples.
> > You'd need two different mechanisms for types that allow custom from_python
> > conversions (involving the construction and destruction of temporaries) and
> > those that don't.
> It seems that I can not find documentation about custom rvalue converters.
> How does this work? What happen if I register custom rvalue converter,
> for example for vector< MyClassX > and also class_< vector< MyClassX >
> > using
> indexing suite.
> Can you point me to the documentation?

The info in the FAQ is all there is. A couple of times David mentioned that the
mechanics could be simplified (and then formally documented), but it never
happened. -- It doesn't seem all that important to me. I find the examples
fully sufficient.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Cplusplus-sig mailing list