mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 13:14:40 +03:00
Update CppCoreGuidelines.md
Typo
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