mn::factorial< N > Struct Template Reference

Calculates the Nth factorial value. More...

#include <mn_functional.hpp>

Static Public Attributes

static constexpr size_t value = N * factorial<N - 1>::value
 

Detailed Description

template<size_t N>
struct mn::factorial< N >

Calculates the Nth factorial value.

Template Parameters
NThe number to find the factorial value of.

Member Data Documentation

◆ value

template<size_t N>
constexpr size_t mn::factorial< N >::value = N * factorial<N - 1>::value
staticconstexpr

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