Hi chromium-dev,
base::Optional<T> has just landed. It is an implementation of C++17
std::optional<T> with minor changes.
If you've been interested to use Nullable/Optional/Maybe types in
Chromium, you should now be able to do so. If you have implemented your
own type (like headless/public/util/maybe.h), you can now deprecate it
and switch to the base/ type.
To know more about what base::Optional<T> is meant to do, how it works
and when you are expected to use it, please have a look at the
documentation:
https://chromium.googlesource.com/chromium/src/+/master/docs/optional.md
Thanks,
-- Mounir