https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82579
Viktor Ostashevskyi <ostash at ostash dot kiev.ua> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Viktor Ostashevskyi <ostash at ostash dot kiev.ua> --- (In reply to Jonathan Wakely from comment #1) > This is not a GCC bug, because it's the required behaviour for C++17. > > Use -fno-new-ttp-matching to disable it in C++17 (or use -fnew-ttp-matching > to enable it in C++14 and make it ambiguous). Huh, thanks for clearing this. Then this is a bug in Boost and maybe Clang.