What is std::expected in C++?
Actually, the best way to learn about std::expected is a funny talk by the (in)famous Andrei Alexandrescu: “Expect the Expected!” What std::expected is, and when it’s used Here are three complementing explanations of what an std::expected<T, E> is: It is the return type of a function which is supposed to return a T value – … Read more