Compiler Error C3747
missing default type parameter : parameter param
Generic or template parameters with default values cannot be followed in the parameter list by parameters that do not have default values.
The following sample 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 {};
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for