Fixed further documentation in the Math Library
This commit is contained in:
@@ -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> {};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user