|
template<class T , class U > |
T | celeritas::detail::id_cast_impl (U value) noexcept(!CELERITAS_DEBUG) |
| Safely cast from one integer T to another U, avoiding the sentinel value.
|
|
template<class IdT , class U > |
IdT | celeritas::id_cast (U value) noexcept(!CELERITAS_DEBUG) |
| Safely create an OpaqueId from an integer of any type.
|
|
template<class I , class T , class U > |
constexpr bool | celeritas::operator< (OpaqueId< I, T > lhs, U rhs) |
| Allow less-than comparison with integer for container comparison.
|
|
template<class I , class T , class U > |
constexpr bool | celeritas::operator<= (OpaqueId< I, T > lhs, U rhs) |
| Allow less-than-equal comparison with integer for container comparison.
|
|
template<class I , class T > |
T | celeritas::operator- (OpaqueId< I, T > self, OpaqueId< I, T > other) |
| Get the distance between two opaque IDs.
|
|
template<class I , class T > |
OpaqueId< I, T > | celeritas::operator+ (OpaqueId< I, T > id, std::make_signed_t< T > offset) |
| Increment an opaque ID by an offset.
|
|
template<class I , class T > |
OpaqueId< I, T > | celeritas::operator- (OpaqueId< I, T > id, std::make_signed_t< T > offset) |
| Decrement an opaque ID by an offset.
|
|
|
template<class I , class T > |
constexpr bool | celeritas::operator== (OpaqueId< I, T > lhs, OpaqueId< I, T > rhs) |
|
template<class I , class T > |
constexpr bool | celeritas::operator!= (OpaqueId< I, T > lhs, OpaqueId< I, T > rhs) |
|
template<class I , class T > |
constexpr bool | celeritas::operator< (OpaqueId< I, T > lhs, OpaqueId< I, T > rhs) |
|
template<class I , class T > |
constexpr bool | celeritas::operator> (OpaqueId< I, T > lhs, OpaqueId< I, T > rhs) |
|
template<class I , class T > |
constexpr bool | celeritas::operator<= (OpaqueId< I, T > lhs, OpaqueId< I, T > rhs) |
|
template<class I , class T > |
constexpr bool | celeritas::operator>= (OpaqueId< I, T > lhs, OpaqueId< I, T > rhs) |
|