HomePhabricator

[ADT] Split optional to only include copy mechanics and dtor for non-trivial…

Description

[ADT] Split optional to only include copy mechanics and dtor for non-trivial types.

This makes uses of Optional more transparent to the compiler (and
clang-tidy) and generates slightly smaller code.