Device interface library for multiple platforms including Mbed.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
Result< T > Class Template Reference
Expected value container that holds either a value or an error. More...
#include <Result.hpp>
Detailed Description
template<typename T>
class MaximInterfaceCore::Result< T >
Expected value container that holds either a value or an error.
Result can be used to multiplex errors and values returned from functions that may fail as an alternative to exceptions.
- Template Parameters:
-
T Must be void or meet the requirements for DefaultConstructible, CopyConstructible, and CopyAssignable.
Definition at line 54 of file Result.hpp.
Generated on Tue Jul 12 2022 11:13:20 by 1.7.2