new MPL docs

[SVN r26213]
This commit is contained in:
Aleksey Gurtovoy committed 2004-11-15 12:30:30 +00:00
1 parent 54a5f8f55f
commit f431ed7cf8
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
#include "boost/mpl/long.hpp"
#include "boost/mpl/alias.hpp"
template< long n > struct binary
: mpl::long_< ( binary< n / 10 >::value << 1 ) + n % 10 >
{
};
template<> struct binary<0>
: mpl::long_<0>
{
};