MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::NoInitId< T > Class Template Reference

Variant of Id<T> with omitted initialization by default. Useful for containers. More...

#include <MRMesh/MRId.h>

Inheritance diagram for MR::NoInitId< T >:

Public Member Functions

 NoInitId ()
 NoInitId (Id< T > id)
Public Member Functions inherited from MR::Id< T >
constexpr Id () noexcept
 the type used for internal representation of Id
 Id (NoInit) noexcept
template<typename U = int, std::enable_if_t< std::is_integral_v< U >, std::nullptr_t > = nullptr>
constexpr Id (U i) noexcept
constexpr operator ValueType () const
constexpr bool valid () const
constexpr operator bool () const
constexpr ValueTypeget () noexcept
constexpr bool operator== (Id b) const
constexpr bool operator!= (Id b) const
constexpr bool operator< (Id b) const
template<typename U>
bool operator== (Id< U > b) const =delete
template<typename U>
bool operator!= (Id< U > b) const =delete
template<typename U>
bool operator< (Id< U > b) const =delete
constexpr Idoperator-- ()
constexpr Idoperator++ ()
constexpr Id operator-- (int)
constexpr Id operator++ (int)
constexpr Idoperator-= (ValueType a)
constexpr Idoperator+= (ValueType a)

Additional Inherited Members

Public Types inherited from MR::Id< T >
using ValueType = int

Detailed Description

template<typename T>
class MR::NoInitId< T >

Variant of Id<T> with omitted initialization by default. Useful for containers.


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