[Bug libstdc++/92057] variant converting constructor fails for primitives

mclow.lists at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 14 17:54:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057

--- Comment #11 from Marshall Clow <mclow.lists at gmail dot com> ---
With wrapping:

> Proposed Resolution:

> This paper proposes to constrain the variant converting constructor and the 
> converting assignment operator to prevent narrowing conversions 
> and conversions to bool.


More information about the Gcc-bugs mailing list