GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::ThreadID Class Reference

#include <GREM/core/system/Thread.hpp>

Public Member Functions

 ThreadID () noexcept=default
bool operator== (const ThreadID &) const =default
auto operator<=> (const ThreadID &) const =default
GREM_ALWAYS_INLINE operator bool () const noexcept

Static Public Member Functions

static GREM_ALWAYS_INLINE ThreadID getCurrent () noexcept

Friends

template<typename CharT, typename Traits>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &stream, ThreadID id)

Constructor & Destructor Documentation

◆ ThreadID()

grem::ThreadID::ThreadID ( )
defaultnoexcept

Member Function Documentation

◆ getCurrent()

GREM_ALWAYS_INLINE ThreadID grem::ThreadID::getCurrent ( )
inlinestaticnodiscardnoexcept

◆ operator==()

bool grem::ThreadID::operator== ( const ThreadID & ) const
nodiscarddefault

◆ operator<=>()

auto grem::ThreadID::operator<=> ( const ThreadID & ) const
nodiscarddefault

◆ operator bool()

GREM_ALWAYS_INLINE grem::ThreadID::operator bool ( ) const
inlineexplicitnoexcept

◆ operator<<

template<typename CharT, typename Traits>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > & stream,
ThreadID id )
friend

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