DGtal 1.4.0
Loading...
Searching...
No Matches
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

◆ anonymous enum

template<int X, unsigned exponent>
anonymous enum
Enumerator
VALUE 

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: