mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix missing lines/ bad indent
This commit is contained in:
parent
f72217f30c
commit
b5d8ef8be7
|
@ -5965,6 +5965,7 @@ Here, we ignore such cases.
|
|||
* [R.15: Always overload matched allocation/deallocation pairs](#Rr-pair)
|
||||
|
||||
* <a name="Rr-summary-smartptrs"></a> Smart pointer rule summary:
|
||||
|
||||
* [R.20: Use `unique_ptr` or `shared_ptr` to represent ownership](#Rr-owner)
|
||||
* [R.21: Prefer `unique_ptr` over `shared_ptr` unless you need to share ownership](#Rr-unique)
|
||||
* [R.22: Use `make_shared()` to make `shared_ptr`s](#Rr-make_shared)
|
||||
|
@ -10589,6 +10590,7 @@ In many cases you can provide a stable interface by not parameterizing a base; s
|
|||
##### Enforcement
|
||||
|
||||
* Flag virtual functions that depend on a template argument. ??? False positives
|
||||
|
||||
### <a name="Rt-array"></a> T.81: Do not mix hierarchies and arrays
|
||||
|
||||
##### Reason
|
||||
|
@ -11101,6 +11103,7 @@ Use a C++ compiler.
|
|||
##### Enforcement
|
||||
|
||||
* Flag if using a build mode that compiles code as C.
|
||||
|
||||
* The C++ compiler will enforce that the code is valid C++ unless you use C extension options.
|
||||
|
||||
### <a name="Rcpl-interface"></a> CPL.3: If you must use C for interfaces, use C++ in the calling code using such interfaces
|
||||
|
|
Loading…
Reference in New Issue
Block a user