הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
missing default type parameter : parameter param
Remarks
Generic or template parameters with default values cannot be followed in the parameter list by parameters that do not have default values.
Example
The following example generates C3747:
// C3747.cpp
template <class T1 = int, class T2> // C3747
struct MyStruct {};
Possible resolution:
// C3747b.cpp
// compile with: /c
template <class T1, class T2 = int>
struct MyStruct {};