binary< N > Struct Template Reference
#include <binaryConstants.h>
List of all members.
|
Public Types |
enum | { value = (N % 8) + (binary<N/8>::value << 1)
} |
Detailed Description
template<unsigned long long N>
struct binary< N >
use
binary<01001001>::value as constant, works with up to 10 bits use
binary<01001001ULL>::value as constant, works with up to 22 bits
- Warning:
- always start with leading 0, since all values have to be octals!!!
Member Enumeration Documentation
template<unsigned long long N>
The documentation for this struct was generated from the following file: