);
}error C2993: 'std::function<double (double)>': is not a valid type for non-typedouble (double)>>' being compiled
error C2993: 'std::function<double (double)>': is not a valid type for non-typematching overloade
C2754: 'Foo<<unnamed-symbol>>::Internal<Bar,unused>' : a partial specialization cannot have a dependent non-typeC2754: 'Foo<<unnamed-symbol>>::Internal<Baz,unused>' : a partial specialization cannot have a dependent non-typeC2
:
error C2971: 'Func' : template parameter 'fruit' : 'fruit' : a local variable cannot be used as a non-type/ error C2971: 'Func' : template parameter 'fruit' : 'fruit' : a local variable cannot be used as a non-type
14.8.2.4 /3:从类型推导模板参数中的语句 and non-typethat is a specialization of a class template (e.g., A<int>)
includes the types, templates, and non-typeIn most cases, the types, templates, and n
Foo::Lock();不使用c++11:error: typename specifier refers to non-typemember 'Lock' in 'Foo'和c++11:'error: typename specifier refers to non-type member 'Lock' in 'Foo'
这就引出了我的问题