16 #ifndef OPENKALMAN_VALUES_SIZE_HPP 17 #define OPENKALMAN_VALUES_SIZE_HPP 19 #include <type_traits> 34 template<
typename T, std::enable_if_t<index<T>,
int> = 0>
36 friend constexpr
bool operator==(
unbounded_size_t,
const T&) noexcept {
return false; }
38 #ifndef __cpp_lib_three_way_comparison 42 template<
typename T, std::enable_if_t<index<T>,
int> = 0>
44 friend constexpr
bool operator==(
const T&,
unbounded_size_t) noexcept {
return false; }
Definition for values::index.
A type reflecting an unbound size.
Definition: size.hpp:27
constexpr bool size
T is either an index representing a size, or unbounded_size_t, which indicates that the size is unbou...
Definition: size.hpp:65
Definition for values::abs.
Definition: fixed-constants.hpp:23
constexpr unbounded_size_t unbounded_size
An instance of unbounded_size_t;.
Definition: size.hpp:54