-
Sam Yates authored
* Fix copy-paste error that led to legitimate copies throwing a bad_variant_access exception. * Fix exception safety for the case when an error thrown in copy assignment takes the lhs to valueless. * Fix wrong valueless semantics associated with an exception being thrown during move assignment. * Add unit tests that exercise these issues. Fixes #1136.
Unverified0f0102ae