Boost logo

Boost :

Subject: Re: [boost] Using C++11 lambdas to replace Phoenix in MPL expressions
From: Eric Niebler (eric_at_[hidden])
Date: 2012-03-25 01:41:57


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

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