DGtal  0.9.4beta
Public Types
DGtal::LOG2< X > Class Template Reference

#include <DGtal/base/ExpressionTemplates.h>

Public Types

enum  { VALUE = 1 + LOG2<X / 2>::VALUE }
 

Detailed Description

template<int X>
class DGtal::LOG2< X >

Template metaprogramming to compute at compilation time a log2.

Definition at line 70 of file ExpressionTemplates.h.

Member Enumeration Documentation

template<int X>
anonymous enum
Enumerator
VALUE 

Definition at line 72 of file ExpressionTemplates.h.

72 : enum{ VALUE = 1 + LOG2<X / 2>::VALUE};

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