mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix Enforcement for C.151 after PR #952
This commit is contained in:
parent
8c0f764b77
commit
2bd4a7c9ad
|
@ -1,6 +1,6 @@
|
|||
# <a name="main"></a>C++ Core Guidelines
|
||||
|
||||
June 12, 2017
|
||||
June 19, 2017
|
||||
|
||||
|
||||
Editors:
|
||||
|
@ -7620,8 +7620,8 @@ It also gives an opportunity to eliminate a separate allocation for the referenc
|
|||
|
||||
##### Enforcement
|
||||
|
||||
* Flag the repetitive usage of template specialization list`<Foo>`
|
||||
* Flag variables declared to be `shared_ptr<Foo>`
|
||||
* Flag the repetitive usage of template specialization list`<Bar>`
|
||||
* Flag variables declared to be `shared_ptr<Bar>`
|
||||
|
||||
### <a name="Rh-array"></a>C.152: Never assign a pointer to an array of derived class objects to a pointer to its base
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user