|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2006-07-27 00:33:21
Joaquín,
> Suppose we've got the following:
>
> template<typename T, int N>
> struct foo
> {
> typedef ... type;
> };
>
> and we want to add MPL lambda support for broken compilers.
'foo' is not an MPL metafunction. From
http://www.boost.org/libs/mpl/doc/refmanual/metafunction.html:
All metafunction's arguments must be types (i.e. only *type
template parameters* are allowed).
HTH,
-- Aleksey Gurtovoy MetaCommunications Engineering
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk