mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
commit
812fb8f314
@ -2899,7 +2899,7 @@ However, a programmer can disable or replace these defaults.
|
||||
Named_map nm; // default 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".
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user