AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <Optional.h>
Public Member Functions | |
Optional () | |
Optional (const T &val) | |
Optional (T &&val) | |
~Optional () | |
template<typename U = T> | |
Optional & | operator= (U &&u) |
Optional (const Optional< T > &other) | |
Optional (Optional< T > &&other) | |
template<typename... Args> | |
Optional (Aws::Crt::InPlaceT, Args &&...args) | |
Optional & | operator= (const Optional &other) |
template<typename U = T> | |
Optional< T > & | operator= (const Optional< U > &other) |
template<typename U = T> | |
Optional< T > & | operator= (Optional< U > &&other) |
template<typename... Args> | |
T & | emplace (Args &&...args) |
const T * | operator-> () const |
T * | operator-> () |
const T & | operator* () const & |
T & | operator* () & |
const T && | operator* () const && |
T && | operator* () && |
operator bool () const noexcept | |
bool | has_value () const noexcept |
T & | value () & |
const T & | value () const & |
T && | value () && |
const T && | value () const && |
void | reset () |
Custom implementation of an Option type. std::optional requires C++17
T | type of the optional value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |