Boost logo

Boost Users :

Subject: Re: [Boost-users] Why is cref required in this nested bind example?
From: Steve Lorimer (steve.lorimer_at_[hidden])
Date: 2012-12-04 19:20:53


On 5 December 2012 11:02, Nathan Ridge <zeratul976_at_[hidden]> wrote:

> The commented line compiles fine for me with GCC >= 4.4 and clang 3.2
>
> Try call the result:

//bind(b, bind(a))(); // can't call
  bind(b, cref(bind(a)))(); // works



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