BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
provides stack-based nullable value similar to boost::optional More...
#include <optional.hpp>
Public Types | |
typedef T | value_type |
Public Member Functions | |
optional () | |
~optional () | |
optional (optional &o) | |
optional (const optional &o) | |
optional (optional &&o) | |
template<typename U > | |
optional (const optional< U > &o) | |
template<typename U > | |
optional (optional< U > &o) | |
template<typename U > | |
optional (optional< U > &&o) | |
template<typename U > | |
optional (U &&u) | |
template<typename U > | |
optional & | operator= (U &&u) |
template<typename U > | |
optional & | operator= (optional< U > &o) |
template<typename U > | |
optional & | operator= (const optional< U > &o) |
optional & | operator= (optional &o) |
optional & | operator= (const optional &o) |
template<typename U > | |
optional & | operator= (optional< U > &&o) |
optional & | operator= (optional &&o) |
bool | valid () const |
bool | operator! () const |
operator bool () const | |
T & | operator* () |
const T & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
optional & | operator= (std::nullptr_t) |
void | reset () |
Friends | |
template<typename U > | |
class | optional |
bool | operator< (const optional a, optional b) |
bool | operator== (const optional a, optional b) |
provides stack-based nullable value similar to boost::optional
Simply including boost::optional adds 35,000 lines to each object file, using fc::optional adds less than 400.
Definition at line 20 of file optional.hpp.
typedef T fc::optional< T >::value_type |
Definition at line 23 of file optional.hpp.
|
inline |
Definition at line 25 of file optional.hpp.
|
inline |
Definition at line 26 of file optional.hpp.
|
inline |
Definition at line 28 of file optional.hpp.
|
inline |
Definition at line 35 of file optional.hpp.
|
inline |
Definition at line 42 of file optional.hpp.
|
inline |
Definition at line 51 of file optional.hpp.
Definition at line 59 of file optional.hpp.
|
inline |
Definition at line 70 of file optional.hpp.
Definition at line 79 of file optional.hpp.
|
inlineexplicit |
Definition at line 191 of file optional.hpp.
|
inline |
Definition at line 187 of file optional.hpp.
|
inline |
Definition at line 193 of file optional.hpp.
|
inline |
Definition at line 194 of file optional.hpp.
|
inline |
Definition at line 196 of file optional.hpp.
|
inline |
Definition at line 201 of file optional.hpp.
|
inline |
Definition at line 137 of file optional.hpp.
|
inline |
Definition at line 109 of file optional.hpp.
|
inline |
Definition at line 169 of file optional.hpp.
|
inline |
Definition at line 123 of file optional.hpp.
|
inline |
Definition at line 152 of file optional.hpp.
|
inline |
Definition at line 95 of file optional.hpp.
|
inline |
Definition at line 207 of file optional.hpp.
Definition at line 86 of file optional.hpp.
|
inline |
Definition at line 224 of file optional.hpp.
|
inline |
Definition at line 186 of file optional.hpp.
Definition at line 213 of file optional.hpp.
Definition at line 218 of file optional.hpp.
Definition at line 233 of file optional.hpp.