MUDA
Loading...
Searching...
No Matches
muda::IdWithType< T > Class Template Reference
Inheritance diagram for muda::IdWithType< T >:
muda::ClosureId muda::NodeId muda::VarId muda::details::LocalVarId

Public Types

using value_type = T
 

Public Member Functions

MUDA_GENERIC IdWithType (value_type value) noexcept
 
MUDA_GENERIC value_type value () const noexcept
 
MUDA_GENERIC bool is_valid () const noexcept
 

Static Public Attributes

static constexpr auto invalid_id = std::numeric_limits<value_type>::max()
 

Protected Attributes

value_type m_value {invalid_id}
 

Friends

std::ostream & operator<< (std::ostream &os, const IdWithType &id)
 
MUDA_GENERIC friend bool operator== (const IdWithType &lhs, const IdWithType &rhs) noexcept
 
MUDA_GENERIC friend bool operator!= (const IdWithType &lhs, const IdWithType &rhs) noexcept
 
MUDA_GENERIC friend bool operator< (const IdWithType &lhs, const IdWithType &rhs) noexcept
 
MUDA_GENERIC friend bool operator> (const IdWithType &lhs, const IdWithType &rhs) noexcept
 

The documentation for this class was generated from the following file: