[Bug libstdc++/92057] variant converting constructor fails for primitives
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 Marshall Clow changed: What|Removed |Added CC||mclow.lists at gmail dot com --- Comment #10 from Marshall Clow --- > I'm sorry to belabour this, but I don't see how narrowing conversions even > has anything to do with p0608. Quoting from http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0608r3.html: > Proposed Resolution: > This paper proposes to constrain the variant converting constructor and the > converting assignment operator to prevent narrowing conversions and > conversions to bool.
[Bug libstdc++/92057] variant converting constructor fails for primitives
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 --- Comment #11 from Marshall Clow --- 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.
[Bug libstdc++/90919] vector::iterator is constructible from a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90919 Marshall Clow changed: What|Removed |Added CC||mclow.lists at gmail dot com --- Comment #1 from Marshall Clow --- This code is rejected by both libc++ and MSVC, so it is not just "theoretically non-portable"