A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.
This is important for inheritance/subtyping, to be able to up-cast. Once downcast exists, we could consider a downcast method on option, though Rust gets away without that (but also has no inheritance).
It also allows you to return Option(3) when the return type is Option, though some(3) will do a better job.
This also implies From<Option, Option>.
This is important for inheritance/subtyping, to be able to up-cast. Once downcast exists, we could consider a downcast method on option, though Rust gets away without that (but also has no inheritance).
It also allows you to, though some(3) will do a better job.
return Option(3)
when the return type is OptionCloses #384