
12 Jun
2006
12 Jun
'06
1:35 p.m.
Malte Clasen
Hi,
I usually use shared_ptrs to const as function parameters, such as boost::shared_ptr<const A>, to explicitly state that this function does not modify the pointee. Now I'm trying to do the same in boost.python:
<snip>
Is there a way to use the automatic conversion from A to const A in boost.python?
You might try:
implicitly_convertible