> >    implicitly_convertible();

> >    implicitly_convertible();
> >}
> I see that an int can be implicitly converted to X. But how can an X be 
> converted to an int? I can't believe that boost.python searches all 
> implemented 
> functions to find that make_x is capable of converting an int to X?

Found it. X::operator int() const. Apparently I need some sleep.

Thank you
Mihail



      

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to