Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-11-16 11:23:47


David B. Held writes:
> 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.

David,

Thanks for reporting these, they are fixed in the latest docs
(http://www.meta-comm.com/engineering/boost/1_32_0_draft/libs/mpl/doc/tutorial/changes-in-boost-1-32-0.html).
I'll take care of the copy at "mywikinet" as soon as we release.

Sorry for the late response!

--
Aleksey Gurtovoy
MetaCommunications Engineering

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