Class ResultData<void, ErrType>

#include <Result.hpp>
template<class ErrType>classResultData{ ... }
No description provided
Examples0
Public static methods0
Public member functions9
boolisOk()const

Returns true if the Result is Ok

Return value
true if the Result is Ok
boolisErr()const

Returns true if the Result is Err

Return value
true if the Result is Err
voidunwrap()

Unwraps the Result

ErrType&&unwrapErr()

Unwraps the Err value from the Result

Return value
the Err value
ErrType&unwrapErr()

Unwraps the Err value from the Result

Return value
the Err value
const ErrTypeconst&unwrapErr()const

Unwraps the Err value from the Result

Return value
the Err value
geode::Result<void,ErrType&>asRef()

Returns a Result with references to the underlying values

Return value
a Result with references to the underlying values
geode::Result<void,const ErrTypeconst&>asConst()const

Returns a Result with const references to the underlying values

Return value
a Result with const references to the underlying values
geode::Result<void,ErrType>copied()const

Returns a Result with a copied Ok value

Return value
a Result with a copied Ok value
Fields0
Protected member functions8
template<class ClassType>voidResultData<void, type-parameter-0-0>(,)
No description provided
voidResultData<void, type-parameter-0-0>()
No description provided
geode::impl::OkContainer<void>asOk()const
No description provided
geode::impl::ErrContainer<ErrType>asErr()
No description provided
geode::impl::ErrContainer<ErrType>asErr()const
No description provided
geode::impl::ErrContainer<ErrType&>asErr()
No description provided
geode::impl::ErrContainer<ErrType&>asErr()const
No description provided
voidinspectInternalErr()const
No description provided
Protected fields1
;
No description provided