tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Public Attributes | List of all members
Unexpected< E > Struct Template Reference

Tag type for constructing an Expected in the error state. More...

#include <expected.h>

Public Attributes

error
 The error value.
 

Detailed Description

template<typename E>
struct Unexpected< E >

Tag type for constructing an Expected in the error state.

Usage:

return Unexpected{MyErrorEnum::SomeError};
Tag type for constructing an Expected in the error state.
Definition expected.h:30
Template Parameters
EError type.

Member Data Documentation

◆ error

template<typename E >
E Unexpected< E >::error

The error value.


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