[C++-sig] Re: will custom lvalue converters be supported?
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Wed Jul 21 01:03:24 CEST 2004
--- David Abrahams <dave at boost-consulting.com> wrote:
> "Igor Lapshin" <igor at pcigeomatics.com> writes:
> > I am wondering if custom lvalue converters are planned to be supported
> > in near future.
> There are no such plans.
> > The FAQ say that they are not supported, but I found some
> > declarations in Python.Boost source code, which look as relevant to
> > lvalue conversions, e.g. void* get_lvalue_from_python().
> There's nothing in Boost.Python that would allow the example to work.
> > I have almost exactly the situation as it is described in FAQ (but
> > with my custom classes):
> What does the parenthetical remark mean? Maybe that small difference
> means you don't need what's being discussed there.
... and if you really need the behavior outlined in the FAQ you could write a
thin wrapper with boost::python::list in the signature. This is a problem only
if you have a large number of functions with a "write back" requirement.
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
More information about the Cplusplus-sig