Boost logo

Boost Users :

Subject: Re: [Boost-users] boost bind, issue moving from 1.57 to 1.60
From: Jason Mancini (jayrusman_at_[hidden])
Date: 2016-06-16 15:08:31


We worked around this failure by changing:

Func = boost::bind(Func, _1) && boost::bind(&Boom::Oops, _1);

to

Func = boost::bind(AND, Func, &Boom::Oops, _1); // custom AND function

Not sure why it used to work, or why it still works with raw pointers, but not shared_ptr. The actual change happens from 1.59 (working) to 1.60 (changed behavior).

Jason



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net