opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
osc::ScopedLifetime Class Referencefinal

#include <scoped_lifetime.h>

Public Member Functions

 ScopedLifetime ()=default
 
 ScopedLifetime (const ScopedLifetime &)
 
 ScopedLifetime (ScopedLifetime &&) noexcept
 
ScopedLifetimeoperator= (const ScopedLifetime &rhs)
 
ScopedLifetimeoperator= (ScopedLifetime &&rhs) noexcept
 
 ~ScopedLifetime () noexcept=default
 
LifetimeWatcher watch () const
 

Constructor & Destructor Documentation

◆ ScopedLifetime() [1/3]

osc::ScopedLifetime::ScopedLifetime ( )
default

◆ ScopedLifetime() [2/3]

osc::ScopedLifetime::ScopedLifetime ( const ScopedLifetime )
inline

◆ ScopedLifetime() [3/3]

osc::ScopedLifetime::ScopedLifetime ( ScopedLifetime &&  )
inlinenoexcept

◆ ~ScopedLifetime()

osc::ScopedLifetime::~ScopedLifetime ( )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

ScopedLifetime & osc::ScopedLifetime::operator= ( const ScopedLifetime rhs)
inline

◆ operator=() [2/2]

ScopedLifetime & osc::ScopedLifetime::operator= ( ScopedLifetime &&  rhs)
inlinenoexcept

◆ watch()

LifetimeWatcher osc::ScopedLifetime::watch ( ) const
inline

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