mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-16 20:37:03 +03:00
Fix P.11: Missing bug description. (#2245)
This commit is contained in:
committed by
GitHub
parent
6864a9fc9e
commit
f7d1181212
@@ -1123,7 +1123,7 @@ Messy, low-level code breeds more such code.
|
||||
}
|
||||
|
||||
This is low-level, verbose, and error-prone.
|
||||
For example, we "forgot" to test for memory exhaustion.
|
||||
For example, we "forgot" to test for memory exhaustion and assign new value to `sz`.
|
||||
Instead, we could use `vector`:
|
||||
|
||||
vector<int> v;
|
||||
|
||||
Reference in New Issue
Block a user