הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'identifier' : explicit instantiation; cannot explicitly force and suppress instantiation of template-class member
Remarks
You cannot explicitly instantiate an identifier while preventing it from being instantiated.
Example
The following example generates C2929:
// C2929.cpp
// compile with: /c
template<typename T>
class A {
public:
A() {}
};
template A<int>::A();
extern template A<int>::A(); // C2929