mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
bad char instead of minus
This commit is contained in:
@@ -10712,7 +10712,7 @@ Pointers should only refer to single objects, and pointer arithmetic is fragile
|
||||
|
||||
a[4] = 1; // OK
|
||||
|
||||
a[count – 1] = 2; // OK
|
||||
a[count - 1] = 2; // OK
|
||||
|
||||
use(a.data(), 3); // OK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user