mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Remove unnecessary reference to 'no naked new' in ES.62
This commit is contained in:
parent
95f6cfcdd8
commit
f59b024b7f
|
@ -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
|
||||
}
|
||||
|
||||
**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**:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user