),
                     make_setter(&amp;foo::bar, return_internal_reference())</pre>

    In order to define return value policies compatible with the
    custom conversions replace <tt>def_readonly()</tt> and
    <tt>def_readwrite()</tt> by <tt>add_property()</tt>. E.g.:

<pre>.add_property("bar", make_getter(&amp;foo::bar, return_value_policy&lt;return_by_value&gt;()),
                     make_setter(&amp;foo::bar, return_value_policy&lt;return_by_value&gt;()))</pre>

    <hr>
    <h2><a name="threadsup