mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
@@ -2899,7 +2899,7 @@ However, a programmer can disable or replace these defaults.
|
|||||||
Named_map nm; // default construct
|
Named_map nm; // default construct
|
||||||
Named_map nm2 {nm}; // copy construct
|
Named_map nm2 {nm}; // copy construct
|
||||||
|
|
||||||
Since `std::map` and `string` have all the special functions, not further work is needed.
|
Since `std::map` and `string` have all the special functions, no further work is needed.
|
||||||
|
|
||||||
**Note**: This is known as "the rule of zero".
|
**Note**: This is known as "the rule of zero".
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user