|
swift
|
Return value of LockFree::read(). More...
#include <lockfree.h>
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.
|
inline |
Return the value that was present when the reader was created.
Definition at line 36 of file lockfree.h.
|
inline |
Return the value that was present when the reader was created.
Definition at line 39 of file lockfree.h.
|
inline |
Return the value that was present when the reader was created.
Definition at line 38 of file lockfree.h.
|
inline |
Return the value that was present when the reader was created.
Definition at line 37 of file lockfree.h.
|
friend |
Definition at line 46 of file lockfree.h.