4 ms·
optional and variant are new in C++17, actually. They were experimental in 14. But - in a sense, C++ still doesn't "have" them, since basically nothing in the
by einpoklum 7y ago
optional and variant are new in C++17, actually. They were experimental in 14.
But - in a sense, C++ still doesn't "have" them, since basically nothing in the standard library relies on the availability of any of these.
(And - I also try to avoid std::any)