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...);
> with:
> 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).

Regards,
Nate