DiSMEC++
dismec::label_id_t Class Reference

Strong typedef for an int to signify a label id. More...

#include <types.h>

Inheritance diagram for dismec::label_id_t:
dismec::opaque_int_type< label_id_t, std::int_fast32_t >

Public Member Functions

label_id_toperator++ ()
 
constexpr opaque_int_type (T v) noexcept
 ! Explicit constructor from an underlying int. More...
 
- Public Member Functions inherited from dismec::opaque_int_type< label_id_t, std::int_fast32_t >
constexpr opaque_int_type (std::int_fast32_t v) noexcept
 ! Explicit constructor from an underlying int. More...
 
constexpr std::int_fast32_t to_index () const
 ! Explicitly convert to an integer. More...
 

Additional Inherited Members

- Protected Attributes inherited from dismec::opaque_int_type< label_id_t, std::int_fast32_t >
std::int_fast32_t m_Value
 

Detailed Description

Strong typedef for an int to signify a label id.

This value represents an id for a label.

Definition at line 20 of file types.h.

Member Function Documentation

◆ opaque_int_type()

constexpr dismec::opaque_int_type< Tag, T >::opaque_int_type
inlineexplicitconstexprnoexcept

! Explicit constructor from an underlying int.

Definition at line 29 of file opaque_int.h.

◆ operator++()

label_id_t& dismec::label_id_t::operator++ ( )
inline

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