Glossary: C++ Beyond the Basics
transform (std::expected)
Also written: .transform
A `std::expected` member that runs a function on the value and wraps the result. On an error it skips the function and passes the error along.
Glossary: C++ Beyond the Basics
Also written: .transform
A `std::expected` member that runs a function on the value and wraps the result. On an error it skips the function and passes the error along.