Boost logo

Boost :

From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-08-05 21:39:35


Philippe A. Bouchard wrote:

[...]

> template <... long double A>
> void foo()
> {
> }

This way it could be used for other basic types (instead of
integral_constant, ...):

template <... void (widget::* const A)(int, int, int)>
    void foo()
    {
    }

> template <... template <typename> A>
> void foo()
> {
> }

Sorry I forgot the class specifier:

template <... template <typename> class A>
    void foo()
    {
    }

[...]

Philippe


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