Boost logo

Boost :

From: Vesa Karvonen (vesa_karvonen_at_[hidden])
Date: 2002-04-08 10:49:03


David Abrahams:
>Is there a way to put an empty token in a tuple or a list? I am trying
>to generate families of overloaded functions which accept member
>function pointers as arguments. To do this I am using a list of
>cv-qualifications:

There is an example that generates a family of template specializations. See
the macro CV_QUALIFIERS in "libs/preprocessor/example/is_integral.cpp". The
basic idea is to make all of the elements in the list invokeable.

>A tutorial section on using lists would be a big help.

I agree.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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