EtcPal  0.4.1
ETC Platform Abstraction Layer (EtcPal)
View other versions:
opaque_id (Strongly typed handles)

Overview

Provides the OpaqueId type, a type-safe identifier or handle value.

Data Structures

class  OpaqueId< IdType, ValueType, InvalidValue >
 A strongly-typed ID with arbitrary internal representation. More...
 

OpaqueId relational operators

template<class IdType , class ValueType , ValueType InvalidValue>
constexpr bool operator== (const OpaqueId< IdType, ValueType, InvalidValue > &a, const OpaqueId< IdType, ValueType, InvalidValue > &b)
 
template<class IdType , class ValueType , ValueType InvalidValue>
constexpr bool operator!= (const OpaqueId< IdType, ValueType, InvalidValue > &a, const OpaqueId< IdType, ValueType, InvalidValue > &b)