Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2004-10-23 14:45:32


Here:
http://www.mywikinet.com/mpl/mpl_1_32_changelog/numeric-metafunctions-protocol-infrastructure.html

I'm guessing that:

template< int n > struct my_int
{
     static int const value = n;
     typedef my_iny type;
};

is really supposed to be:

template< int n > struct my_int
{
     static int const value = n;
     typedef my_int type;
             ^^^^^^
};

And same for the "After" example.

Dave


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