From 308bd731a5b49ccfdad583bf7ef8e78b4c137282 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 23 Jan 2020 21:17:49 +0200 Subject: [PATCH] Update documentation --- doc/variant2/changelog.adoc | 5 ++++- doc/variant2/design.adoc | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) 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.