mrdocs::polyfill::expected::error_or
error_or overloads
Synopses
Declared in <mrdocs/polyfill/expected.hpp>
Return the contained error or a fallback copy.
template<class G = E>
constexpr
E
error_or(G&& e) const &;
Return the contained error or a fallback move.
template<class G = E>
constexpr
E
error_or(G&& e) &&;
Parameters
Name |
Description |
e |
Fallback error to use when engaged. |
Created with MrDocs