Public Types | |
using | value_type = T |
Public Member Functions | |
template<typename... Args> | |
T & | emplace (Args &&...args) |
operator bool () const noexcept | |
const T & | operator* () const noexcept |
const T * | operator-> () const noexcept |
ReferenceSensitiveOptional & | operator= (const T &value) |
ReferenceSensitiveOptional & | operator= (T &&value) |
ReferenceSensitiveOptional ()=default | |
ReferenceSensitiveOptional (const T &value) | |
ReferenceSensitiveOptional (T &&value) | |
const T & | value () const noexcept |
Private Attributes | |
std::vector< T > | storage |
Definition at line 122 of file test_stl.cpp.
using ReferenceSensitiveOptional< T >::value_type = T |
Definition at line 124 of file test_stl.cpp.
|
default |
|
inline |
Definition at line 128 of file test_stl.cpp.
|
inline |
Definition at line 130 of file test_stl.cpp.
|
inline |
Definition at line 141 of file test_stl.cpp.
|
inlineexplicitnoexcept |
Definition at line 156 of file test_stl.cpp.
|
inlinenoexcept |
Definition at line 152 of file test_stl.cpp.
|
inlinenoexcept |
Definition at line 154 of file test_stl.cpp.
|
inline |
Definition at line 131 of file test_stl.cpp.
|
inline |
Definition at line 135 of file test_stl.cpp.
|
inlinenoexcept |
Definition at line 147 of file test_stl.cpp.
|
private |
Definition at line 159 of file test_stl.cpp.