Boost logo

Boost :

Subject: Re: [boost] [bind] Request: use result_of instead of result_type for functors
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2013-02-06 13:40:50


On Wed, Feb 6, 2013 at 9:40 AM, Eric Niebler <eniebler_at_[hidden]> wrote:

> On 13-02-06 09:30 AM, Jeffrey Lee Hellrung, Jr. wrote:
> > On Tue, Feb 5, 2013 at 11:09 PM, Eric Niebler <eniebler_at_[hidden]>
> wrote:
> >
> >> On 13-02-05 05:21 PM, Jeffrey Lee Hellrung, Jr. wrote:
> >>> given that Boost.Bind has been largely superseded
> >>> by Boost.Phoenix.Bind.
> >>
> >> I'd like to address just this part. It's not true, AFAIK. Boost.Bind
> >> still has its place.
> >
> > Can you elaborate?
>
> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk