mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #613 from tlanc007/C.33_610
C.33_610: changed owner<T>* to owner<T*> per issue 610
This commit is contained in:
commit
6760960e7a
|
@ -4177,7 +4177,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