mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +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 {
|
||||
// ...
|
||||
public:
|
||||
owner<T> p; // OK: p is nowning
|
||||
owner<T> p; // OK: p is owning
|
||||
T* q; // OK: q is not owning
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user