PhoenixGraph  02.0.1
C++ library implementing graph data structures
Loading...
Searching...
No Matches
PPower< V, 0 > Struct Template Reference

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

#include <pstatic_computation.h>

Inheritance diagram for PPower< V, 0 >:
Collaboration diagram for PPower< V, 0 >:

Public Types

enum  
enum  { Value = 1 }

Detailed Description

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

Compute the power of an unsigned int statically.

Definition at line 29 of file pstatic_computation.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

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.

◆ anonymous enum

template<unsigned int V>
anonymous enum
Enumerator
Value 

Definition at line 30 of file pstatic_computation.h.

30{Value = 1};

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