mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Refined Enforcement for F.7
This commit is contained in:
@@ -2218,7 +2218,7 @@ We can catch dangling pointers statically, so we don't need to rely on resource
|
|||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
||||||
* ??? Difficult: Flag smart pointer arguments where ownership isn't affected.
|
* Difficult: Flag smart pointer parameters (parameters of a type that overloads `operator->` or `operator*`) that are never copied, moved from, or assigned to. That means the ownership semantics are not used.
|
||||||
|
|
||||||
### <a name="Rf-pure"></a>F.8: Prefer pure functions
|
### <a name="Rf-pure"></a>F.8: Prefer pure functions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user