On Thu, Jun 16, 2016 at 4:50 PM, Jason Mancini
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users