Ditto 4.7.5-rc.1
Loading...
Searching...
No Matches
ditto::Arc< T > Class Template Reference

Public Member Functions

 Arc (T value) noexcept
 
 Arc (Arc< T > const &other) noexcept
 
 Arc (Arc< T > &&rhs) noexcept
 
void swap (Arc< T > &rhs) noexcept
 
Arc< T > & operator= (Arc< T > const &rhs) noexcept
 
Arc< T > & operator= (Arc< T > &&rhs) noexcept
 
T & operator* () const noexcept
 
T * operator-> () const noexcept
 

Static Public Member Functions

static Arc< T > from_raw (void *ptr) noexcept
 
static void * into_raw (Arc< T > &&self) noexcept
 
static void * as_raw (Arc< T > const &arc) noexcept
 
static Arc< T > & borrow_from_raw (void *&ptr) noexcept