#include <MRId.h>
Public Member Functions | |
constexpr | Id () noexcept |
Id (NoInit) noexcept | |
constexpr | Id (size_t i) noexcept |
constexpr | Id (int) noexcept=delete |
constexpr | operator size_t () const |
constexpr bool | valid () const |
constexpr | operator bool () const |
constexpr size_t & | get () noexcept |
constexpr bool | operator== (Id b) const |
constexpr bool | operator!= (Id b) const |
constexpr bool | operator< (Id b) const |
template<typename U > | |
bool | operator== (Id< U > b) const =delete |
template<typename U > | |
bool | operator!= (Id< U > b) const =delete |
template<typename U > | |
bool | operator< (Id< U > b) const =delete |
constexpr Id & | operator-- () |
constexpr Id & | operator++ () |
constexpr Id | operator-- (int) |
constexpr Id | operator++ (int) |
constexpr Id & | operator-= (size_t a) |
constexpr Id & | operator+= (size_t a) |