I appreciate that there is already an issue for c++17 (#2206), but I was hoping that reducing the scope to a specific component of it: std::optional would make it easier to add earlier.
This would of course mean that it will not be fully supported, e.g. no emplace until things like variadic template parameters are implemented. However I think most of the useful functionality here: https://en.cppreference.com/w/cpp/utility/optional can already be supported.
I appreciate that there is already an issue for c++17 (#2206), but I was hoping that reducing the scope to a specific component of it:
std::optionalwould make it easier to add earlier.This would of course mean that it will not be fully supported, e.g. no emplace until things like variadic template parameters are implemented. However I think most of the useful functionality here: https://en.cppreference.com/w/cpp/utility/optional can already be supported.