![]() |
Bitcoin Core
0.21.1
P2P Digital Currency
|
#include <utility>#include <boost/optional.hpp>Go to the source code of this file.
Typedefs | |
| template<typename T > | |
| using | Optional = boost::optional< T > |
| Substitute for C++17 std::optional. More... | |
Functions | |
| template<typename T > | |
| Optional< T > | MakeOptional (bool condition, T &&value) |
| Substitute for C++17 std::make_optional. More... | |
Variables | |
| static auto & | nullopt = boost::none |
| Substitute for C++17 std::nullopt. More... | |
| using Optional = boost::optional<T> |
Substitute for C++17 std::optional.
Definition at line 14 of file optional.h.
| Optional<T> MakeOptional | ( | bool | condition, |
| T && | value | ||
| ) |
Substitute for C++17 std::make_optional.
Definition at line 18 of file optional.h.
|
static |
Substitute for C++17 std::nullopt.
Definition at line 24 of file optional.h.
1.8.8