Class result_construct_base<T, E>

#include <Geode/external/result/result.hpp>
template<typename T,typename E>classresult_construct_base{ ... }

/////////////////////////////////////////////////////////////////////////// /// \brief Base class of assignment to enable construction and assignment /// /// This class is used with several pieces of construction to ensure /// trivial constructibility and assignability: /// /// * result_trivial_copy_ctor_base /// * result_trivial_move_ctor_base /// * result_copy_assign_base /// * result_move_assign_base /// /// \tparam T the value type /// \tparam E the error type ///////////////////////////////////////////////////////////////////////////

Examples0
Public static methods0
Public member functions15
template<typename...Args>voidresult_construct_base<T, E>(,)

/// \brief Constructs the underlying value from the specified \p args /// /// \param args the arguments to forward to T’s constructor

template<typename...Args>voidresult_construct_base<T, E>(,)

/// \brief Constructs the underlying error from the specified \p args /// /// \param args the arguments to forward to E’s constructor

cpp::bitwizeshift::detail::result_construct_base&operator=()
No description provided
cpp::bitwizeshift::detail::result_construct_base&operator=()
No description provided
template<typename...Args>voidconstruct_value()

/// \brief Constructs the value type from \p args /// /// \note This is an implementation detail only meant to be used during /// construction /// /// \pre there is no contained value or error at the time of construction /// /// \param args the arguments to forward to T’s constructor

template<typename...Args>voidconstruct_error()

/// \brief Constructs the error type from \p args /// /// \note This is an implementation detail only meant to be used during /// construction /// /// \pre there is no contained value or error at the time of construction /// /// \param args the arguments to forward to E’s constructor

template<typename Result>voidconstruct_error_from_result()

/// \brief Constructs the underlying error from the \p other result /// /// If \p other contains a value, then the T type will be /// default-constructed. /// /// \note This is an implementation detail only meant to be used during /// construction of result<void, E> types /// /// \pre there is no contained value or error at the time of construction /// /// \param other the other result to construct

template<typename Result>voidconstruct_from_result()

/// \brief Constructs the underlying type from a result object /// /// \note This is an implementation detail only meant to be used during /// construction /// /// \pre there is no contained value or error at the time of construction /// /// \param other the other result to construct

template<typename Value>voidassign_value(
Value&&value
)
No description provided
template<typename Error>voidassign_error(
Error&&error
)
No description provided
template<typename Result>voidassign_from_result()
No description provided
template<typename ReferenceWrapper>voidconstruct_value_from_result_impl(,)
No description provided
template<typename Value>voidconstruct_value_from_result_impl(,
Value&&value
)
No description provided
template<typename Result>voidassign_value_from_result_impl(,)
No description provided
template<typename Result>voidassign_value_from_result_impl(,)
No description provided
Fields1
;
No description provided
Protected member functions0
Protected fields0