[PATCH 3/3] Fix condition for std::variant to be copy constructible

Jonathan Wakely jwakely@redhat.com
Fri Apr 19 21:44:00 GMT 2019


On 17/04/19 17:12 +0100, Jonathan Wakely wrote:
>The standard says the std::variant copy constructor is defined as
>deleted unless all alternative types are copy constructible, but we were
>making it also depend on move constructible.

It turns out that was changed by https://wg21.link/lwg2904 and we're
missing the rest of that resolution too. Patch coming soon ...




More information about the Gcc-patches mailing list