mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #16 from ALSchwalm/master
Remove unnecessary reference to 'no naked new' in ES.62
This commit is contained in:
commit
c55a70572f
|
@ -7701,7 +7701,7 @@ There can be code in the `...` part that causes the `delete` never to happen.
|
||||||
if (0<&a1[5]-&a2[7]) // bad: undefined
|
if (0<&a1[5]-&a2[7]) // bad: undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
**Note**: This example also violates the [no naked `new` rule](#Res-new) and has many more problems.
|
**Note**: This example has many more problems.
|
||||||
|
|
||||||
**Enforcement**:
|
**Enforcement**:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user