mrdocs::Expected::transform_error
Map the contained error (const rvalue), preserve value.
Synopsis
Declared in <mrdocs/Support/Expected.hpp>
template<class Fn>
requires std::is_constructible_v<T, const T>
constexpr
auto
transform_error(Fn&& f) const &&;
Parameters
Name |
Description |
f |
Mapping function applied to the error. |
Created with MrDocs