diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 473b7d9..5e5dfb2 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -5799,7 +5799,7 @@ Using default member initializers lets the compiler generate the function for yo ##### Enforcement -(Simple) A default constructor should do more than just initialize data members with constants. +(Simple) Flag if a default constructor's explicit member initializer is a constant, and recommend that the constant should be written as a data member initializer instead. ### C.46: By default, declare single-argument constructors explicit