contains help functions which are evaluated at compile-time More...
#include <stdio.h>#include <string.h>#include <string>

Go to the source code of this file.
Classes | |
| struct | pow2< NN > |
pow2<x>::value computes during compile timethe computation is recursive and there are some compiler-depending recursion limits, usually 256. More... | |
| struct | pow2< 0 > |
pow2<0>::value represents during compile time More... | |
| struct | needbits< NUM > |
| needbits<x>::value computes number of required bits to represent unsigned integer x during compile time More... | |
| struct | needbits< 1 > |
| needbits<1>::value computes number of required bits to represent integer 1 during compile time More... | |
| struct | needbits< 0 > |
| struct | nextpow2num< CHAR > |
nextpow2num<x>::value computes (at compile time) a power of 2 -value such that is valid, where x is the minimal number of bits to represent the unsigned integer CHAR More... | |
contains help functions which are evaluated at compile-time
Limitation: the computation is recursive and there are some compiler-depending recursion limits, usually 256.
Definition in file CompileFunctions.h.
1.6.3