Skip to content

Commit f52da2b

Browse files
committed
Resolves #2297
1 parent a102f15 commit f52da2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5799,7 +5799,7 @@ Using default member initializers lets the compiler generate the function for yo
57995799

58005800
##### Enforcement
58015801

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.
58035803

58045804
### <a name="rc-explicit"></a>C.46: By default, declare single-argument constructors explicit
58055805

0 commit comments

Comments
 (0)