[Bug c++/93155] Error when compiling Boost MP11 mp_similar

2020-01-06 Thread tobias.loew at steag dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155 Tobias Loew changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/93155] Error when compiling Boost MP11 mp_similar

2020-01-05 Thread tobias.loew at steag dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155 --- Comment #3 from Tobias Loew --- After reading the standard carefully, I figured out that this is not an error since the rewrite as function templates is ambiguous: template struct mp_similar_impl {}; template void f(mp_similar_impl) {} te

[Bug c++/93155] Error when compiling Boost MP11 mp_similar

2020-01-05 Thread tobias.loew at steag dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155 --- Comment #2 from Tobias Loew --- // here is a minimal example (extracted from boost/mp11/function.hpp) template struct s{}; template struct mp_similar_impl; template struct mp_similar_impl { using type = int; }; // commenting the follo

[Bug c++/93155] Error when compiling Boost MP11 mp_similar

2020-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFI