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