mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
fix code blocks indented with tab (4 spaces instead)
This commit is contained in:
parent
8adf569a57
commit
777f7bc5fb
|
@ -12000,8 +12000,6 @@ Alternatively, we will decide that no change is needed and delete the entry.
|
||||||
* What to do with leaks out of temporaries? : `p = (s1+s2).c_str();`
|
* What to do with leaks out of temporaries? : `p = (s1+s2).c_str();`
|
||||||
* pointer/iterator invalidation leading to dangling pointers
|
* pointer/iterator invalidation leading to dangling pointers
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
void bad()
|
void bad()
|
||||||
{
|
{
|
||||||
int* p = new int[700];
|
int* p = new int[700];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user