DGtal 1.3.0
No Matches
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

◆ anonymous enum

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: