mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
C.33_610: changed owner<T>* to owner<T*> per issue 610
Did not change the owner<T> to owner<T*> in the Enforcement section.
This commit is contained in:
parent
5eb0b587af
commit
54bd880898
|
@ -4018,7 +4018,7 @@ The default copy operation will just copy the `p1.p` into `p2.p` leading to a do
|
|||
|
||||
template<typename T>
|
||||
class Smart_ptr3 {
|
||||
owner<T>* p; // OK: explicit about ownership of *p
|
||||
owner<T*> p; // OK: explicit about ownership of *p
|
||||
// ...
|
||||
public:
|
||||
// ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user