Boost logo

Boost :

Subject: Re: [boost] boost::python::make_setter(&X::y) no longer compiles
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2015-09-02 08:09:55


On 30 August 2015 at 13:42, Jonathan Wakely wrote:
> This compiled with 1,58, it doesn't with 1.59:
>
> #include <boost/python.hpp>
>
> struct X { int y; };
>
> int main()
> {
> boost::python::make_setter(&X::y);
> }
>
> Is this intentional? Is it documented somewhere?
>
> The examples in the docs still seem to use this form.

For the record, this was fixed by
https://github.com/boostorg/python/pull/40 which Stefan just merged
(thanks!)


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