|
CGRA-ME
|
#include <Functional.h>
Public Types | |
| using | Value = Value_ |
Public Member Functions | |
| template<typename G > | |
| LazyPointer (G &&g) | |
| LazyPointer (LazyPointer &&src) | |
| LazyPointer & | operator= (LazyPointer &&rhs) |
| Value & | operator* () |
| const Value & | operator* () const |
| Value * | operator-> () |
| const Value * | operator-> () const |
| bool | isResolved () const |
| void | resolve () const |
Private Attributes | |
| Gen | gen |
| std::unique_ptr< Value > | storage = nullptr |
| std::once_flag | is_resolved = {} |
Definition at line 18 of file Functional.h.
| using LazyPointer< Gen, Value_ >::Value = Value_ |
Definition at line 51 of file Functional.h.
|
inline |
Definition at line 54 of file Functional.h.
|
inline |
Definition at line 56 of file Functional.h.
|
inline |
Definition at line 72 of file Functional.h.
|
inline |
Definition at line 66 of file Functional.h.
|
inline |
Definition at line 67 of file Functional.h.
|
inline |
Definition at line 69 of file Functional.h.
|
inline |
Definition at line 70 of file Functional.h.
|
inline |
Definition at line 61 of file Functional.h.
|
inline |
Definition at line 74 of file Functional.h.
|
mutableprivate |
Definition at line 82 of file Functional.h.
|
mutableprivate |
Definition at line 84 of file Functional.h.
|
mutableprivate |
Definition at line 83 of file Functional.h.
1.8.17