[C++-sig] implicitly_convertible or order of init's problem

David Abrahams dave at boost-consulting.com
Tue Sep 19 00:23:23 CEST 2006


"Roman Yakovenko" <roman.yakovenko at gmail.com> writes:

> If I comment out "bp::implicitly_convertible< vector const &, float_vector >();"
> than "ic_ext.float_vector( 5.0 )" expression pass.
>
> It could be nice to understand why this happens. I attached small example
> that reproduce the problem.( I hope this time I did it right :-) )

Please try the following patch to boost/python/converter/implicit.hpp.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: implicit.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20060918/5b7a57d4/attachment.bin>
-------------- next part --------------

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


More information about the Cplusplus-sig mailing list