Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-11-12 12:40:53


Eric Niebler <eric_at_[hidden]> writes:

>> std::vector is not a metafunction, it has no ::type
>
> It doesn't matter. Try it and see.

I know Eric knows this, but for everyone else:

   that's not an implementation artifact, but a deliberately-designed
   feature.

see http://boost-consulting.com/mplbook/metafunctions.html#lambda-and-non-metafunction-templates

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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