[C++-sig] Re: implicitly_convertible
dave at boost-consulting.com
Mon Feb 2 23:37:18 CET 2004
"aashish" <aashish at vrac.iastate.edu> writes:
> This might be a very simple question but I am wondering when I should use
> implicitly_convertible as I found that in certain cases the coversion from
> Python type to C++ type is possible without using it.
implicitly_convertible isn't there just to enable Python->C++
conversions. Many built-in conversions work automatically.
if there exists a conversion from Python type P -> C++ type C
will enable a conversion from Python type P -> C++ type D
More information about the Cplusplus-sig