News for hackers. Stuff that matters.
Re:Modern C++ Features – std::optional by klodolph on Saturday June 09, 2018 @07:48PM (#17275642)
You may find std::variant also very useful. You can do something like std::variant<Error, Foo>.

There are no comments on this comment yet.