Template template argument causes compiler error under Clang but not GCC [duplicate]
问题 This question already has an answer here : Template template parameter and default values [duplicate] (1 answer) Closed last year . While helping with problem noted in too many template parameters in template template argument a question arose in my head: which compiler is right about the compilation in this case: template <template <typename, typename> class Op> class Function { }; template <typename A, typename B, bool is_f = std::is_floating_point<A>::value || std::is_floating_point<B>: