MI - Fimex
Public Types | List of all members
binary< N > Struct Template Reference

#include <fimex/binaryConstants.h>

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>
anonymous enum
Enumerator
value 

The documentation for this struct was generated from the following file: