2
C ++ - Dlaczego słowo kluczowe „szablon” jest tutaj wymagane?
Mam następujący kod: template <typename TC> class C { struct S { template <typename TS> void fun() const {} }; void f(const S& s) { s.fun<int>(); } }; // Dummy main function int main() { return 0; } Kiedy buduję to z gcc 9.2 i clang (9.0), pojawia się błąd …