Compiler Error C2913
explicit specialization; 'declaration' is not a specialization of a class template
You cannot specialize a non-template class.
The following sample generates C2913:
// C2913.cpp
// compile with: /c
class X{};
template <class T> class Y{};
template<> class X<int> {}; // C2913
template<> class Y<int> {};
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir