DGtal  0.9.3beta
Public Types
DGtal::POW< X, exponent > Class Template Reference

#include <DGtal/base/ExpressionTemplates.h>

Public Types

enum  { VALUE = X* POW<X, exponent-1>::VALUE }

Detailed Description

template<int X, unsigned exponent>
class DGtal::POW< X, exponent >

Template metaprogramming to compute at compilation time a power.

Definition at line 53 of file ExpressionTemplates.h.

Member Enumeration Documentation

template<int X, unsigned exponent>
anonymous enum

Definition at line 55 of file ExpressionTemplates.h.

55 : enum{ VALUE = X* POW<X, exponent-1>::VALUE};

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