Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-07-18 06:14:01


From: "Edward Diener" <eddielee_at_[hidden]>
>
> The suggestion is that you explain how to bind specific arguments to
> boost::bind, the need to specify placeholders for all the other arguments,
> and also how to eventually pass arguments for placeholders. I know you are
> giving various examples when specifying how to use boost::bind with
> different types of functors, but they don't explain it all in a methodical
> way. I find the examples good but the general mechanism eluded me when I
> first read it. I think I understand it now but because it is not explained
> clearly at the beginning before you give practical examples, it made it
much
> harder to fathom how it all worked. BTW, as a binding mechanism I think it
> is great work, but I don't think you need even assume that programmers who
> use it even understand std::bind1st or std::bind2nd if you explain it a
bit
> better.

This helps, thank you. One more question: it seems that you are using bind()
to implement closures. Are you migrating from another closure library, or do
you have expectations of how a closure library works, that have got in the
way?


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