class err
Declaration
template <class T>
class err { /* full declaration omitted */ };
Description
Helper class to construct a result containing an error.
Declared at: libreglisse/result.hpp:63
Member Variables
- private reglisse::err::value_type m_value
Method Overview
- public constexpr err<T>(const reglisse::err::value_type & value)
- public constexpr err<T>(reglisse::err::value_type && value)
- public constexpr auto value() const & noexcept -> const reglisse::err::value_type &
- public constexpr auto value() & noexcept -> reglisse::err::value_type &
- public constexpr auto value() const && noexcept -> const reglisse::err::value_type
- public constexpr auto value() && noexcept -> reglisse::err::value_type
Methods
constexpr err<T>(
const reglisse::err::value_type& value)
constexpr err<T>(
const reglisse::err::value_type& value)
Declared at: libreglisse/result.hpp:69
Parameters
- const reglisse::err::value_type& value
constexpr err<T>(
reglisse::err::value_type&& value)
constexpr err<T>(
reglisse::err::value_type&& value)
Declared at: libreglisse/result.hpp:70
Parameters
- reglisse::err::value_type&& value
constexpr auto value() const& noexcept
-> const reglisse::err::value_type&
constexpr auto value() const& noexcept
-> const reglisse::err::value_type&
Declared at: libreglisse/result.hpp:72
constexpr auto value() & noexcept
-> reglisse::err::value_type&
constexpr auto value() & noexcept
-> reglisse::err::value_type&
Declared at: libreglisse/result.hpp:73
constexpr auto value() const&& noexcept
-> const reglisse::err::value_type
constexpr auto value() const&& noexcept
-> const reglisse::err::value_type
Declared at: libreglisse/result.hpp:74
constexpr auto value() && noexcept
-> reglisse::err::value_type
constexpr auto value() && noexcept
-> reglisse::err::value_type
Declared at: libreglisse/result.hpp:75