#include <sol.hpp>
§ optional() [1/7]
§ optional() [2/7]
§ optional() [3/7]
constexpr T * static_addressof(T &ref)
Definition: sol.hpp:3472
§ optional() [4/7]
§ optional() [5/7]
§ optional() [6/7]
constexpr T * static_addressof(T &ref)
Definition: sol.hpp:3472
§ optional() [7/7]
§ ~optional()
§ emplace() [1/2]
constexpr T * static_addressof(T &ref)
Definition: sol.hpp:3472
§ emplace() [2/2]
§ operator bool()
4036 return ref !=
nullptr;
§ operator*()
#define TR2_OPTIONAL_ASSERTED_EXPRESSION(CHECK, EXPR)
Definition: sol.hpp:3450
§ operator->()
#define TR2_OPTIONAL_ASSERTED_EXPRESSION(CHECK, EXPR)
Definition: sol.hpp:3450
§ operator=() [1/3]
§ operator=() [2/3]
template<class T >
template<typename U >
§ operator=() [3/3]
template<class T >
template<typename U >
§ swap()
void swap(optional< T > &x, optional< T > &y) noexcept(noexcept(x.swap(y)))
Definition: sol.hpp:4327
§ value()
4027 #ifdef SOL_NO_EXCEPTIONS 4031 : (
throw bad_optional_access(
"bad optional access"), *ref);
4032 #endif // Exceptions
§ value_or()
template<class T >
template<typename V >
4041 return *
this ? **
this : detail_::convert<T&>(constexpr_forward<V>(v));
§ ref
The documentation for this class was generated from the following file: