Subject: Re: [boost] Discovering C++11 lambda argument and result types to construct boost::function
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2012-02-13 17:25:51
> A note: if you substitute
> using signature = R (Arg...);
> typedef R (Arg...) signature;
> you get a compile time error.
I believe the correct typedef syntax is:
typedef R signature(Arg...);
(This syntax never made sense to me, but it's the only one there was
prior to C++11).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk