mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge pull request #81 from justanotheranonymoususer/patch-1
Update CppCoreGuidelines.md
This commit is contained in:
@@ -5651,7 +5651,7 @@ We can fix that problem by making ownership explicit:
|
|||||||
class X2 {
|
class X2 {
|
||||||
// ...
|
// ...
|
||||||
public:
|
public:
|
||||||
owner<T> p; // OK: p is nowning
|
owner<T> p; // OK: p is owning
|
||||||
T* q; // OK: q is not owning
|
T* q; // OK: q is not owning
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user