|
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-17 01:11:58
>> Most likely, somewhere along the way it's moving the pointer and then returning the original instead of the new one.
>>
> boost::function<bool(boost::shared_ptr<const Boom>&)>
> This somehow prevents too much forwarding and losing the original value
Ahhh yes now it all makes sense. And why raw pointer still worked.
Thank you!!! That's just ... pure evil. Not the principle of least surprise!
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