Tags C++Programming C++17: std::optional<> admin November 21, 2017 Suppose we want to write a function that returns a value, but with the possibility that the computation might fail.
Tags C++Programming C++17: std::variant<> admin November 5, 2017 C++17 introduces a new type-safe union in the form of std::variant. At any time, it can store a single value