mn::fibonacci< N > Struct Template Reference

Calculates the Nth Fibonacci value. More...

#include <mn_functional.hpp>

Static Public Attributes

static constexpr size_t value = fibonacci<N - 1>::value + fibonacci<N - 2>::value
 

Detailed Description

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

Calculates the Nth Fibonacci value.

Template Parameters
NThe number to find the Fibbonacci value of.

Member Data Documentation

◆ value

template<size_t N>
constexpr size_t mn::fibonacci< N >::value = fibonacci<N - 1>::value + fibonacci<N - 2>::value
staticconstexpr

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