seguente codice è stato compilato con successo con clangore, ma gcc non riesce:gcc non accetta espansione pacchetto in discussione modello predefinito
struct fn
{
template <typename ... Args>
static constexpr bool call (Args ...) { return true; }
};
template <typename ... T>
static constexpr bool f = false;
template <typename ... Ts, bool F = fn::call(f<Ts> ...)>
void hoge() {}
int main() {}
gcc 5.1.0 (-Wall -Wextra -std = C++ 14 - pedantic) dice
clang 3.6.0 e 3.5.0 non dà errori.
Am I e clang violando le regole C++ o si tratta di un bug gcc?