Template Class Optional< T & >#
Defined in File Optional.h
Nested Relationships#
Nested Types#
Class Documentation#
-
template<typename T>
class Optional<T&># -
Public Functions
-
constexpr Optional() noexcept = default#
-
template<typename U = T>
inline explicit(!std::is_convertible_v<U, T>) constexpr Optional(U &&u) noexcept#
-
template<typename U>
inline explicit(!std::is_convertible_v<U, T>) constexpr Optional(const Optional<U> &rhs) noexcept#
-
constexpr ~Optional() = default#
-
inline explicit constexpr operator bool() const noexcept#
-
inline constexpr bool HasValue() const noexcept#
-
inline constexpr void Reset() noexcept#
-
template<typename F, typename Ret = std::remove_cv_t<std::invoke_result_t<F, T&>>>
inline constexpr auto Transform(F &&f) &#
-
template<typename F, typename Ret = std::remove_cv_t<std::invoke_result_t<F, const T&>>>
inline constexpr auto Transform(F &&f) const &#
-
template<typename F, typename Ret = std::remove_cv_t<std::invoke_result_t<F, T>>>
inline constexpr auto Transform(F &&f) &&#
-
constexpr Optional() noexcept = default#