Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-03-09 09:11:05


Gennaro Prota <gennaro_prota_at_[hidden]> writes:

> On Sat, 08 Mar 2003 15:31:58 -0500, David Abrahams
> <dave_at_[hidden]> wrote:
>
>
>>"Make 'em MPL-compatible metafunctions."
> ^^^
> |---- which ones?

All of the traits. For example:

template <class T>
struct const_min
   : integral_c<T, /* calculate the value */>
{};

> PS: why the quotes? :-)

I couldn't resist (?)

-- 
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