#include <MRId.h>
Public Types | |
| using | ValueType = size_t |
Public Member Functions | |
| constexpr | Id () noexcept |
| the type used for internal representation of Id | |
| Id (NoInit) noexcept | |
| constexpr | Id (ValueType i) noexcept |
| constexpr | Id (int) noexcept=delete |
| constexpr | operator ValueType () const |
| constexpr bool | valid () const |
| constexpr | operator bool () const |
| constexpr ValueType & | 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-= (ValueType a) |
| constexpr Id & | operator+= (ValueType a) |