Boost logo

Boost Users :

Subject: Re: [Boost-users] boost bind, issue moving from 1.57 to 1.60
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2016-06-16 17:02:45

On Thu, Jun 16, 2016 at 4:50 PM, Jason Mancini <jayrusman_at_[hidden]> wrote:
>> Again, bind is there to BIND to a callable thing (function or functor).
>> Why you would want to try to LOGICAL AND the result, is beyond me.
> It's not logically anding the binds right there on the spot. Each bind
> results in a boost::function, and &&'ing to of those results in another
> boost::function. It actually builds an expression which later calls both,
> then ands. Can I ask, are you one of the boost::bind maintainers? I'm
> guessing it may be best to simply file a bug report. The test case is
> clearly succinct.

I'm a user, but I've never seen a usage like this before. I know you
can do things like auto bound = std::bind(...), and then call the
bound(...) thing later. But did not know about the logical expression.

> Jason
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at