forked from boostorg/variant2
Update documentation
This commit is contained in:
@@ -13,7 +13,10 @@ http://www.boost.org/LICENSE_1_0.txt
|
|||||||
|
|
||||||
## Changes in 1.73.0
|
## Changes in 1.73.0
|
||||||
|
|
||||||
* Added support for `std::hash`, `boost::hash`
|
* Added support for `std::hash`, `boost::hash`.
|
||||||
|
* `variant<T...>` 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
|
## Changes in 1.71.0
|
||||||
|
|
||||||
|
@@ -169,8 +169,6 @@ The main differences between this implementation and `std::variant` are:
|
|||||||
`variant<int, float>` is provided as the member function `subset<U...>`.
|
`variant<int, float>` is provided as the member function `subset<U...>`.
|
||||||
(This operation can throw if the current state of the variant cannot be
|
(This operation can throw if the current state of the variant cannot be
|
||||||
represented.)
|
represented.)
|
||||||
* `variant<T...>` 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
|
* The {cpp}20 additions and changes to `std::variant` have not yet been
|
||||||
implemented.
|
implemented.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user