HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
net_OutcomeValueVisit< T, E > Struct Template Reference

#include <NET_Outcome.h>

Public Types

using result_type = T &
 

Public Member Functions

result_type operator() (T &value)
 
result_type operator() (const E &err)
 
result_type operator() (const std::exception_ptr &ptr)
 

Detailed Description

template<typename T, typename E>
struct net_OutcomeValueVisit< T, E >

Definition at line 25 of file NET_Outcome.h.

Member Typedef Documentation

template<typename T , typename E >
using net_OutcomeValueVisit< T, E >::result_type = T&

Definition at line 27 of file NET_Outcome.h.

Member Function Documentation

template<typename T , typename E >
result_type net_OutcomeValueVisit< T, E >::operator() ( T value)
inline

Definition at line 28 of file NET_Outcome.h.

template<typename T , typename E >
result_type net_OutcomeValueVisit< T, E >::operator() ( const E &  err)
inline

Definition at line 29 of file NET_Outcome.h.

template<typename T , typename E >
result_type net_OutcomeValueVisit< T, E >::operator() ( const std::exception_ptr &  ptr)
inline

Definition at line 30 of file NET_Outcome.h.


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