|
fastlowess-cpp
High-performance LOWESS smoothing
|
A result type that holds either a value or an error. More...
#include <fastlowess.hpp>
Classes | |
| struct | ErrorTag |
Public Member Functions | |
| Expected (T val) | |
| bool | has_value () const |
| operator bool () const | |
| T & | value () & |
| const T & | value () const & |
| T && | value () && |
| const std::string & | error () const |
Static Public Member Functions | |
| static Expected | make_error (std::string msg) |
A result type that holds either a value or an error.
Mimics std::expected (C++23) behavior.
|
inlineexplicit |
|
inline |
|
inline |
|
inlinestatic |
|
inlineexplicit |
|
inline |
|
inline |