
Here: http://www.mywikinet.com/mpl/mpl_1_32_changelog/numeric-metafunctions-protoc... 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

David B. Held writes:
Here: http://www.mywikinet.com/mpl/mpl_1_32_changelog/numeric-metafunctions-protoc...
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/tutoria...). I'll take care of the copy at "mywikinet" as soon as we release. Sorry for the late response! -- Aleksey Gurtovoy MetaCommunications Engineering
participants (2)
-
Aleksey Gurtovoy
-
David B. Held