|
| 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 > |
| auto | celeritas::operator+ (std::make_signed_t< T > offset, OpaqueId< I, T > id) |
| | 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) |
| |