ug4
ug::Factorial< n > Struct Template Reference

#include <metaprogramming_util.h>

Public Types

enum  { value = n*Factorial<n-1>::value }
 

Detailed Description

template<size_t n>
struct ug::Factorial< n >

returns the factorial of n The struct value is n!

Member Enumeration Documentation

◆ anonymous enum

template<size_t n>
anonymous enum
Enumerator
value 

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