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