#include <results.hpp>
|
| constexpr | Result () noexcept |
| constexpr | Result (T const &&t) noexcept |
| constexpr | Result (S &&s) noexcept |
| constexpr | operator bool () const noexcept |
| constexpr bool | valid () const noexcept |
| constexpr bool | invalid () const noexcept |
| constexpr auto | get () const noexcept -> T |
| auto | gets () const -> S |
| template<typename Func, typename Err> |
| auto | match (Func &&f, Err &&r) noexcept |
◆ Result() [1/3]
template<typename S, typename T>
|
|
inlineexplicitconstexprnoexcept |
◆ Result() [2/3]
template<typename S, typename T>
|
|
inlineexplicitconstexprnoexcept |
◆ Result() [3/3]
template<typename S, typename T>
|
|
inlineexplicitconstexprnoexcept |
◆ get()
template<typename S, typename T>
| auto Result< S, T >::get |
( |
| ) |
const -> T
|
|
inlinenodiscardconstexprnoexcept |
◆ gets()
template<typename S, typename T>
| auto Result< S, T >::gets |
( |
| ) |
const -> S
|
|
inlinenodiscard |
◆ invalid()
template<typename S, typename T>
| bool Result< S, T >::invalid |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ match()
template<typename S, typename T>
template<typename Func, typename Err>
| auto Result< S, T >::match |
( |
Func && | f, |
|
|
Err && | r ) |
|
inlinenoexcept |
◆ operator bool()
template<typename S, typename T>
| Result< S, T >::operator bool |
( |
| ) |
const |
|
inlineexplicitconstexprnoexcept |
◆ valid()
template<typename S, typename T>
| bool Result< S, T >::valid |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
The documentation for this struct was generated from the following file: