Subject: Re: [boost] [mpl] is_lambda_expression bug?
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2013-02-08 18:19:27
James Hirschorn wrote:
> The compile-time assertion fails in the following program. I have tried
> more than one version of boost including 1.53.
> Is it a bug? Shall I report it?
I agree with Jeff, that this isn't really part of the public interface -- I
can't find docs either.
The metafunction itself appears to detect placeholder expressions*: i.e.,
expressions involving arg<N> or mpl::bind<>, which it obviously wouldn't in
your code. The following lines work:
Though it would be unwise to depend on it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk