libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
Quotient::Expected< T, E > Class Template Reference

#include <expected.h>

Inheritance diagram for Quotient::Expected< T, E >:
Collaboration diagram for Quotient::Expected< T, E >:

Public Member Functions

template<std::convertible_to< E > X>
 explicit (false) Expected(X &&x)
 
T && move_value_or (T &&fallback)
 

Detailed Description

template<typename T, typename E>
requires (!std::is_same_v<T, E>)
class Quotient::Expected< T, E >

Definition at line 12 of file expected.h.

Member Function Documentation

◆ explicit()

template<typename T , typename E >
template<std::convertible_to< E > X>
Quotient::Expected< T, E >::explicit ( false  ) &&
inline

Definition at line 17 of file expected.h.

◆ move_value_or()

template<typename T , typename E >
T && Quotient::Expected< T, E >::move_value_or ( T &&  fallback)
inline

Definition at line 20 of file expected.h.


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