[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread the.invisible.phantom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 --- Comment #2 from Valentine Anderson --- >From what I understand, the key feature of trivially copyable types is that memcpy‘ing an object of such a type onto another object is equivalent to a copy assignment. So it is possible to trivially c

[Bug libstdc++/106547] New: std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2022-08-06 Thread the.invisible.phantom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 Bug ID: 106547 Summary: std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types Product: gcc Version: unknown Status: UNCONFIRM