Namespace details
Namespace List > details
Namespaces
Classes
Type |
Name |
struct |
Constructor <typename T, typename E>
|
struct |
Constructor< void, E > <typename E>
|
struct |
IsResult <typename R>
|
struct |
IsResult< Result< T, E > > <typename T, typename E>
|
struct |
ResultErrType <typename R>
|
struct |
ResultErrType< Result< T, E > > <typename T, typename E>
|
struct |
ResultOkType <typename R>
|
struct |
ResultOkType< Result< T, E > > <typename T, typename E>
|
struct |
Storage <typename T, typename E>
|
struct |
Storage< void, E > <typename E>
|
struct |
err_tag
|
struct |
ok_tag
|
struct |
result_of <typename Func>
|
struct |
result_of< Ret(*)(Args...)> <typename Ret, Args>
|
struct |
result_of< Ret(Cls::*)(Args...) const > <typename Ret, typename Cls, Args>
|
struct |
void_t <typename...>
|
Public Functions
Type |
Name |
Ret |
map (const Result< T, E > & result, Func func)
|
Ret |
mapError (const Result< T, E > & result, Func func)
|
Ret |
orElse (const Result< T, E > & result, Func func)
|
Result< T, E > |
otherwise (const Result< T, E > & result, Func func)
|
Result< T, E > |
then (const Result< T, E > & result, Func func)
|
Public Functions Documentation
function map
template<typename T, typename E, typename Func, typename Ret>
Ret details::map (
const Result < T, E > & result,
Func func
)
function mapError
template<typename T, typename E, typename Func, typename Ret>
Ret details::mapError (
const Result < T, E > & result,
Func func
)
function orElse
template<typename T, typename E, typename Func, typename Ret>
Ret details::orElse (
const Result < T, E > & result,
Func func
)
function otherwise
template<typename T, typename E, typename Func>
Result < T, E > details::otherwise (
const Result < T, E > & result,
Func func
)
function then
template<typename T, typename E, typename Func>
Result < T, E > details::then (
const Result < T, E > & result,
Func func
)
The documentation for this class was generated from the following file include/qqmusic/details/result.h