PhoenixGraph  01.0.0
Set of tools to simplify graph manipulation
Loading...
Searching...
No Matches
PPower< V, N > Struct Template Reference

Compute the power of an unsigned int statically. More...

#include <pstatic_computation.h>

+ Inheritance diagram for PPower< V, N >:

Public Types

enum  { Value = V * PPower<V, N - 1>::Value }
 

Detailed Description

template<unsigned int V, unsigned int N>
struct PPower< V, N >

Compute the power of an unsigned int statically.

Definition at line 21 of file pstatic_computation.h.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned int V, unsigned int N>
anonymous enum
Enumerator
Value 

Definition at line 22 of file pstatic_computation.h.

22{Value = V * PPower<V, N - 1>::Value};
Compute the power of an unsigned int statically.

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