Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Helper class for integer IDs up to 32 Bit, possibly of enum type. More...
#include "cxxaux.hh"
Public Member Functions | |
template<typename T , REQUIRES<(sizeof(T)<=4 &&(std::is_integral< T >::value||std::is_enum< T >::value)) > = true> | |
constexpr | Id32 (T eid) |
operator uint32_t () const noexcept | |
bool | operator== (int64_t i) const noexcept |
bool | operator!= (int64_t i) const noexcept |
Public Attributes | |
uint32_t | id |
Friends | |
bool | operator== (int64_t i, const Id32 &id) |
bool | operator!= (int64_t i, const Id32 &id) |
Helper class for integer IDs up to 32 Bit, possibly of enum type.
|
constexpr |