23
General utilities library
[utilities]
23.7
Variants
[variant]
23.7.3
Class template
variant
[variant.variant]
23.7.3.2
Destructor
[variant.dtor]
~variant();
1
#
Effects:
If
valueless_by_exception()
is
false
, destroys the currently contained value
.
2
#
Remarks:
If
is_trivially_destructible_v<> == true
for all then this destructor shall be a trivial destructor
.