nextpow2num< CHAR > Struct Template Reference
[Compile-Time Functions]

nextpow2num<x>::value computes (at compile time) a power of 2 -value such that $ \mbox { \large $ 2^x < value=2^a $ } $ is valid, where x is the minimal number of bits to represent the unsigned integer CHAR More...

#include <CompileFunctions.h>

List of all members.

Public Types

enum  { value = pow2< needbits<CHAR>::value >::value }

Detailed Description

template<int CHAR>
struct nextpow2num< CHAR >

Author:
Jakob Kröker

Definition at line 113 of file CompileFunctions.h.


Member Enumeration Documentation

template<int CHAR>
anonymous enum
Enumerator:
value 

Definition at line 115 of file CompileFunctions.h.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 23 13:10:53 2010 for centerfocus by  doxygen 1.6.3