C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Prepend higher bits to lowest bit. More...
Static Public Attributes | |
static unsigned const | value = (binary<N/10>::value * 2) + (N % 10) |
Prepend higher bits to lowest bit.
N | A binary number to examine. Obvisouly, this should contain only 0 and 1. |
Definition at line 46 of file chapter-1.cpp.
|
static |
Definition at line 48 of file chapter-1.cpp.