https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436
--- Comment #2 from petschy at gmail dot com ---
Folding instantiations of member functions of class templates is a low hanging
fruit IMHO. So if they are not handled ATM, then consider this ticket as a
feature request, rather than a bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436
--- Comment #1 from Andrew Pinski ---
The reason Foldable are not folded is because Foldable<0> and Foldable<42>
clases are different. Yes they have the same layout but for aliasing rules
they are different.