#include <utility>
#include <type_traits>
#include <initializer_list>
#include <cassert>
#include <functional>
#include <string>
#include <stdexcept>
Go to the source code of this file.
|
| using | Ice::bad_optional_access = std::experimental::Ice::bad_optional_access |
| | Raised when accessing an optional that doesn't contain a value.
|
| using | Ice::in_place_t = std::experimental::Ice::in_place_t |
| | This type indicates that an optional value should be constructed in place.
|
| using | Ice::nullopt_t = std::experimental::Ice::nullopt_t |
| | This type indicates that no value is provided.
|
| template<class T> |
| using | IceUtil::Optional = std::experimental::Ice::optional<T> |
| | For compatibility with the Ice C++98 mapping, do not use in new code:
|
| template<class T> |
| using | Ice::optional = std::experimental::Ice::optional<T> |
| | Ice::optional is a placeholder for std::optional.
|
|
| constexpr struct std::experimental::Ice::in_place_t | Ice::in_place |
| | An instance of in_place_t that indicates that an optional value should be constructed in place.
|
| constexpr std::experimental::Ice::nullopt_t | IceUtil::None {std::experimental::Ice::nullopt_t::init()} |
| | For compatibility with the Ice C++98 mapping, do not use in new code:
|
| constexpr nullopt_t | Ice::nullopt |
| | An instance of nullopt_t used as a marker value to indicate that no value is provided.
|
◆ OPTIONAL_CONSTEXPR_INIT_LIST
| #define OPTIONAL_CONSTEXPR_INIT_LIST |
◆ OPTIONAL_HAS_CONSTEXPR_INIT_LIST
| #define OPTIONAL_HAS_CONSTEXPR_INIT_LIST 0 |
◆ OPTIONAL_HAS_MOVE_ACCESSORS
| #define OPTIONAL_HAS_MOVE_ACCESSORS 0 |
◆ OPTIONAL_HAS_THIS_RVALUE_REFS
| #define OPTIONAL_HAS_THIS_RVALUE_REFS 0 |
◆ OPTIONAL_MUTABLE_CONSTEXPR
| #define OPTIONAL_MUTABLE_CONSTEXPR constexpr |
◆ TR2_OPTIONAL_ASSERTED_EXPRESSION
| #define TR2_OPTIONAL_ASSERTED_EXPRESSION |
( |
| CHECK, |
|
|
| EXPR ) |
Value:((CHECK) ? (EXPR) : ([]{assert(false && #CHECK);}(), (EXPR)))
◆ TR2_OPTIONAL_REQUIRES
| #define TR2_OPTIONAL_REQUIRES |
( |
| ... | ) |
|
Value:typename enable_if<__VA_ARGS__::value, bool>::type = false