mn::sqrt< VAL, X > Struct Template Reference

#include <mn_functional.hpp>

Public Types

using type = typename mn::conditional<((X *X) > VAL), mn::integral_constant< intmax_t, X - 1 >, mn::sqrt< VAL, X+1 > >::type
 

Static Public Attributes

static constexpr size_t value = type::value
 

Member Typedef Documentation

◆ type

template<size_t VAL, size_t X = 1>
using mn::sqrt< VAL, X >::type = typename mn::conditional< ((X * X) > VAL), mn::integral_constant<intmax_t, X - 1>, mn::sqrt<VAL, X + 1> >::type

Member Data Documentation

◆ value

template<size_t VAL, size_t X = 1>
constexpr size_t mn::sqrt< VAL, X >::value = type::value
staticconstexpr

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