mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-16 20:37:03 +03:00
Resolves #2297
This commit is contained in:
@@ -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.
|
||||
|
||||
### <a name="rc-explicit"></a>C.46: By default, declare single-argument constructors explicit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user