Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2003-09-10 12:19:57


David Abrahams ha escrito:

> It may help to avoid metafunction forwarding:
>
> template<typename Type>
> struct has_type
> {
> template<typename TypeListofTypeListsElement>
> struct apply
> {
> typedef typename TypeListofTypeListsElement::type_list inner;
> typedef typename mpl::contains<inner,Type>::type type;
> };
> };
>

It did no harm, but I'm afraid I need something more drastic. Thanx
anyway.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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