[C++-sig] wrapped std::vector slice affecting items in a python list
Babak Khataee
babakage at gmail.com
Tue Aug 16 20:29:53 CEST 2011
Okay thanks for the info.
Things are also a lot safer if you only wrap vectors as const; it's exposing
> the mutators to Python that gets really difficult.
>
Is the const-ness of a wrapped object just a side effect of not exposing
methods which modify it or is it due to something else more explicit ?
thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20110816/eb8e94f7/attachment.html>
More information about the Cplusplus-sig
mailing list