Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Unexpected< E > Class Template Reference

An error, to construct an Expected from, as std::unexpected. More...

#include <expected.h>

Public Member Functions

 Unexpected (E error)
 Wraps error.
const E & error () const &noexcept
 The error.
E & error () &noexcept
 The error.
E && error () &&noexcept
 The error, moved out.

Private Attributes

E m_error
 The error.

Detailed Description

template<typename E>
class Sonde::Unexpected< E >

An error, to construct an Expected from, as std::unexpected.


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