OpenWalnut  1.5.0dev
Public Types | List of all members
WPower< base, 0 > Struct Template Reference

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

#include <WCompileTimeFunctions.h>

Public Types

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

Detailed Description

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

Compute the nth power of a value.

Specialization for exponent = 0.

Definition at line 151 of file WCompileTimeFunctions.h.

Member Enumeration Documentation

◆ anonymous enum

template<std::size_t base>
anonymous enum

Using an enum here instead of a static constant.

Enumerator
value 

The computed value.

Definition at line 156 of file WCompileTimeFunctions.h.


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