diff --git a/doc/variant2/changelog.adoc b/doc/variant2/changelog.adoc index c13464a..dd09dc5 100644 --- a/doc/variant2/changelog.adoc +++ b/doc/variant2/changelog.adoc @@ -13,7 +13,10 @@ http://www.boost.org/LICENSE_1_0.txt ## Changes in 1.73.0 -* Added support for `std::hash`, `boost::hash` +* Added support for `std::hash`, `boost::hash`. +* `variant` is now trivial when all types in `T...` are trivial. + This improves performance by enabling it to be passed to, and returned + from, functions in registers. ## Changes in 1.71.0 diff --git a/doc/variant2/design.adoc b/doc/variant2/design.adoc index 36840fa..734dc98 100644 --- a/doc/variant2/design.adoc +++ b/doc/variant2/design.adoc @@ -169,8 +169,6 @@ The main differences between this implementation and `std::variant` are: `variant` is provided as the member function `subset`. (This operation can throw if the current state of the variant cannot be represented.) -* `variant` is not (yet) trivial when all contained types are trivial, - as mandated by {cpp}17. * The {cpp}20 additions and changes to `std::variant` have not yet been implemented.