Boost logo

Boost :

From: rwgk_at_[hidden]
Date: 2001-06-28 15:13:22


I am not sure about this, but one idea is that strings
are immutable types in Python. Passing a std::string&
violates this Python convention.
Ralf

--- In boost_at_y..., "Mikolai Fajer" <mfajer_at_m...> wrote:
> When I try to expose a member function which takes in
two "std::string&" I recieve an error C2665: 'from_python'.
>
> I have successfully passed "const std::string&", and am unsure
about what I am doing wrong, if anything.
>
> Thanks.
>
>
> -Mikolai-


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk