wisdom
Loading...
Searching...
No Matches
wis::ResultValue< RetTy > Struct Template Reference

Detailed Description

template<typename RetTy>
struct wis::ResultValue< RetTy >

Definition at line 2328 of file api.hpp.

Public Member Functions

constexpr ResultValue (wis::Result status) noexcept
 
template<typename Callable , typename Callee , typename... Args>
requires std::is_member_function_pointer_v<Callable>
constexpr ResultValue (Callable &&f, Callee *self, Args &&... args) noexcept
 
template<typename Callable , typename... Args>
constexpr ResultValue (Callable &&f, Args &&... args) noexcept
 

Static Public Member Functions

template<typename Callable , typename Callee , typename... Args>
static constexpr ResultValue< RetTy > from_member_func (Callable &&f, Callee *self, Args &&... args) noexcept
 

Public Attributes

Result status
 
RetTy value
 

Constructors

◆ ResultValue() [1/3]

template<typename RetTy >
constexpr wis::ResultValue< RetTy >::ResultValue ( wis::Result  status)
inlineconstexprnoexcept

Definition at line 2333 of file api.hpp.

◆ ResultValue() [2/3]

template<typename RetTy >
template<typename Callable , typename Callee , typename... Args>
requires std::is_member_function_pointer_v<Callable>
constexpr wis::ResultValue< RetTy >::ResultValue ( Callable &&  f,
Callee *  self,
Args &&...  args 
)
inlineconstexprnoexcept

Definition at line 2340 of file api.hpp.

◆ ResultValue() [3/3]

template<typename RetTy >
template<typename Callable , typename... Args>
constexpr wis::ResultValue< RetTy >::ResultValue ( Callable &&  f,
Args &&...  args 
)
inlineconstexprnoexcept

Definition at line 2345 of file api.hpp.

Methods

◆ from_member_func()

template<typename RetTy >
template<typename Callable , typename Callee , typename... Args>
static constexpr ResultValue< RetTy > wis::ResultValue< RetTy >::from_member_func ( Callable &&  f,
Callee *  self,
Args &&...  args 
)
inlinestaticconstexprnoexcept

Definition at line 2351 of file api.hpp.

Data Members

◆ status

template<typename RetTy >
Result wis::ResultValue< RetTy >::status

Definition at line 2329 of file api.hpp.

◆ value

template<typename RetTy >
RetTy wis::ResultValue< RetTy >::value

Definition at line 2330 of file api.hpp.


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