iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::expected_detail::operations_base< void, E > Struct Template Reference
Inheritance diagram for iceberg::expected_detail::operations_base< void, E >:
iceberg::expected_detail::storage_base< void, E >

Public Member Functions

constexpr E & geterr () &noexcept
 
constexpr const E & geterr () const &noexcept
 
constexpr E && geterr () &&noexcept(std::is_nothrow_move_constructible_v< E >)
 
constexpr const E && geterr () const &&noexcept(std::is_nothrow_move_constructible_v< E >)
 
- Public Member Functions inherited from iceberg::expected_detail::storage_base< void, E >
 storage_base (storage_base const &)=default
 
 storage_base (storage_base &&)=default
 
constexpr storage_base (construct_from_expected_t, Rhs &&rhs) noexcept(std::is_nothrow_constructible_v< void, decltype(expected_detail::expected_source_value(std::declval< Rhs >()))> &&std::is_nothrow_constructible_v< E, decltype(expected_detail::expected_source_error(std::declval< Rhs >()))>)
 
constexpr storage_base (std::in_place_t, Args &&... args) noexcept(noexcept(void(std::forward< Args >(args)...)))
 
constexpr storage_base (std::in_place_t, std::initializer_list< U > il, Args &&... args) noexcept(noexcept(void(il, std::forward< Args >(args)...)))
 
constexpr storage_base (unexpect_t, Args &&... args) noexcept(noexcept(E(std::forward< Args >(args)...)))
 
constexpr storage_base (unexpect_t, std::initializer_list< U > il, Args &&... args) noexcept(noexcept(E(il, std::forward< Args >(args)...)))
 
constexpr storage_base (construct_with_invoke_result_t, Fn &&func, Args &&... args) noexcept(noexcept(static_cast< void >(std::invoke(std::forward< Fn >(func), std::forward< Args >(args)...))))
 
constexpr storage_base (construct_with_invoke_result_t, unexpect_t, Fn &&func, Args &&... args) noexcept(noexcept(static_cast< E >(std::invoke(std::forward< Fn >(func), std::forward< Args >(args)...))))
 
storage_base & operator= (storage_base const &)=default
 
storage_base & operator= (storage_base &&)=default
 

Additional Inherited Members

- Public Attributes inherited from iceberg::expected_detail::storage_base< void, E >
void m_val
 
E m_unexpect
 
char m_dummy
 
union { 
 
   T   m_val 
 
   E   m_unexpect 
 
   char   m_dummy 
 
};  
 
bool m_has_val
 

The documentation for this struct was generated from the following file: