class optional More...
#include <ndn-cxx/util/nonstd/optional.hpp>
Public Types | |
typedef T | value_type |
Public Member Functions | |
optional () | |
optional (nullopt_t) | |
optional (optional const &other) | |
template<typename U > | |
optional (optional< U > const &other) | |
optional (value_type const &value) | |
~optional () | |
bool | has_value () const |
operator safe_bool () const | |
value_type const & | operator* () const |
value_type & | operator* () |
value_type const * | operator-> () const |
value_type * | operator-> () |
optional & | operator= (nullopt_t) |
optional & | operator= (optional const &other) |
template<typename U > | |
optional & | operator= (U const &value) |
template<typename U > | |
optional & | operator= (optional< U > const &other) |
void | reset () |
void | swap (optional &other) |
value_type const & | value () const |
value_type & | value () |
template<typename U > | |
value_type | value_or (U const &v) const |
Friends | |
template<typename > | |
class | optional |
class optional
optional access error
optional
Definition at line 507 of file optional.hpp.
typedef T nonstd::optional_lite::optional< T >::value_type |
Definition at line 846 of file optional.hpp.
|
inline |
Definition at line 851 of file optional.hpp.
|
inline |
Definition at line 858 of file optional.hpp.
|
inline |
Definition at line 864 of file optional.hpp.
|
inline |
Definition at line 924 of file optional.hpp.
|
inline |
Definition at line 1053 of file optional.hpp.
|
inline |
Definition at line 1062 of file optional.hpp.
|
inline |
Definition at line 1313 of file optional.hpp.
|
inline |
Definition at line 1306 of file optional.hpp.
|
inline |
Definition at line 1274 of file optional.hpp.
|
inline |
Definition at line 1280 of file optional.hpp.
|
inline |
Definition at line 1262 of file optional.hpp.
|
inline |
Definition at line 1268 of file optional.hpp.
|
inline |
Definition at line 1073 of file optional.hpp.
|
inline |
Definition at line 1094 of file optional.hpp.
|
inline |
Definition at line 1149 of file optional.hpp.
|
inline |
Definition at line 1182 of file optional.hpp.
|
inline |
Definition at line 1386 of file optional.hpp.
|
inline |
Definition at line 1246 of file optional.hpp.
|
inline |
Definition at line 1319 of file optional.hpp.
|
inline |
Definition at line 1332 of file optional.hpp.
|
inline |
Definition at line 1377 of file optional.hpp.
Definition at line 841 of file optional.hpp.