Hi,

In:
http://www.boost.org/doc/libs/1_58_0/libs/python/doc/tutorial/doc/html/python/exposing.html#python.class_operators_special_functions

It is explained how to automagicaly get a str conversion from the operator<<(ostream&,blog const*) operator.

But, as explained in http://stackoverflow.com/questions/2828903/build-problems-when-adding-str-method-to-boost-python-c-class

It only works if the following
  using self_ns::str;
directive is present.

Now, I do not see any mention of that issue in the documentation. Did I overlooked it ? Or is it actually missing in the doc ? (or is it a but in the lib ?).

Thanks,

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

Reply via email to