OpenWalnut  1.4.0
Public Types
WPower< 0, exponent > Struct Template Reference

Compute the nth power of a value. More...

#include <WCompileTimeFunctions.h>

List of all members.

Public Types

enum  { value = 0 }
 Using an enum here instead of a static constant. More...

Detailed Description

template<std::size_t exponent>
struct WPower< 0, exponent >

Compute the nth power of a value.

Specialization for exponent = 0.

Definition at line 169 of file WCompileTimeFunctions.h.


Member Enumeration Documentation

template<std::size_t exponent>
anonymous enum

Using an enum here instead of a static constant.

Enumerator:
value 

The computed value.

Definition at line 174 of file WCompileTimeFunctions.h.


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