
25 Mar
2012
25 Mar
'12
5:41 a.m.
On 3/24/2012 7:25 PM, Augustus Saunders wrote:
While you can get the type of a lambda expression with decltype
This is not true. Lambdas are not allowed to appear in non-evaluated contexts, and decltype is one of them. If your compiler allows it, consider it a bug. Don't rely on that behavior. -- Eric Niebler BoostPro Computing http://www.boostpro.com