You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CppCoreGuidelines.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5799,7 +5799,7 @@ Using default member initializers lets the compiler generate the function for yo
5799
5799
5800
5800
##### Enforcement
5801
5801
5802
-
(Simple) A default constructor should do more than just initialize data members with constants.
5802
+
(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.
5803
5803
5804
5804
### <a name="rc-explicit"></a>C.46: By default, declare single-argument constructors explicit
0 commit comments