
On 2/7/13 6:51 AM, Nathan Ridge wrote:
Boost.Bind is a smaller, simpler library that pulls in less code and has fewer dependencies. It also doesn't do anything that would require decltype, or an emulation thereof (Boost.TypeOf).
If Boost.Bind meets my needs (and std::bind is not available), I use it.
Thanks, makes sense, except I wasn't aware that Boost.Phoenix used any kind of decltype-like mechanism...
- Jeff
Surely Boost.Phoenix.Bind doesn't *require* a decltype-like mechanism ifyou follow the result_of protocol, does it? Regards,Nate
Phoenix *bind* does not use decltype nor Boost.TypeOf. Phoenix uses Boost.TypeOf (which uses decltype when available) to deduce types on operations such as (_1 * _2). Regards, -- Joel de Guzman http://www.boostpro.com http://boost-spirit.com