Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2001-11-20 03:23:46


Are there somewhere in boost equivalents for the templates below?

    template <int v>
    struct int2type
    {
        enum { value = v };
    };
    
    template <typename T>
    struct type2type
    {
        typedef T original_type;
    };

Thanks,

Andrei


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