swift
|
Return value of LockFree::read(). More...
Public Member Functions | |
LockFreeReader (const LockFreeReader &)=default | |
Copy constructor. | |
LockFreeReader & | operator= (const LockFreeReader &)=default |
Copy assignment operator. | |
const T & | get () const |
Return the value that was present when the reader was created. | |
const T * | operator-> () const |
Return the value that was present when the reader was created. | |
const T & | operator* () const |
Return the value that was present when the reader was created. | |
operator const T & () const | |
Return the value that was present when the reader was created. | |
Friends | |
class | LockFree< std::remove_const_t< T > > |
Return value of LockFree::read().
Allows any one thread to safely read from the lock-free object.
Definition at line 31 of file lockfree.h.