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

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

#include <pstatic_computation.h>

+ Inheritance diagram for pstatic_fact< N >:

Public Types

enum  { Value = N * pstatic_fact<N - 1>::Value }
 

Detailed Description

template<unsigned int N>
struct pstatic_fact< N >

Compute the factorial of an unsigned int statically.

Definition at line 12 of file pstatic_computation.h.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned int N>
anonymous enum
Enumerator
Value 

Definition at line 13 of file pstatic_computation.h.

13{Value = N * pstatic_fact<N - 1>::Value};
Compute the factorial of an unsigned int statically.

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