Fixed further documentation in the Math Library

This commit is contained in:
2025-05-26 14:58:38 -04:00
parent e6b3d45e2e
commit 1a27e37f66
14 changed files with 124 additions and 95 deletions

View File

@@ -55,23 +55,30 @@ template<typename T, T V> struct integral_constant
constexpr operator T() const noexcept { return V; }
};
///
///
/// \brief metaprogramming boolean constant
///
/// \details
/// \tparam V value of the constant
template<bool_t V> struct bool_constant : integral_constant<bool_t, V> {};
template<bool_t V>
struct bool_constant
: integral_constant<bool_t, V> {};
///
///
/// \brief metaprogramming true constant
struct true_type : bool_constant<true> {};
struct true_type
: bool_constant<true> {};
///
///
/// \brief metaprogramming false constant
struct false_type : bool_constant<false> {};
struct false_type
: bool_constant<false> {};
}