EtcPal  0.4.1
ETC Platform Abstraction Layer (EtcPal)
View other versions:
opaque_id.h File Reference

Overview

Provides the OpaqueId template type and function definitions.

Go to the source code of this file.

Data Structures

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

Functions

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)