mitteLib
Loading...
Searching...
No Matches
mlab::result< Args > Class Template Reference

Detailed Description

template<class... Args>
class mlab::result< Args >

This is basically std::variant<E, T1, ...>, contextually convertible to bool if T is present. Also, it can take ''void'' T; in that case it represents either a success state or carries the error data. That is just an alias to ''result<E, result_success_type>''.

All result classes holding data compare true to result_success, and all result classes can be converted to ''result<void, E>''.


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