|
Boost : |
From: David B. Held (dheld_at_[hidden])
Date: 2002-11-27 19:03:53
In this code,
template <class F, typename T>
struct apply_lambda
{
typedef typename mpl::lambda<F>::type f_;
typedef typename mpl::apply<f_, T>::type type;
};
MSVC reports that there is no "apply" in "mpl". I thought it was being
stupid,
so I preprocessed the source, and verified that sure enough there *is* no
apply in mpl. I discovered that apply1 works just fine, however. I assume
that MSVC can't handle the full apply<> machinery, but is this documented?
Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk