the copy ctor typo and comment fixes from #1125

This commit is contained in:
Sergey Zubkov 2018-01-23 14:15:52 -05:00
parent 15ca9d220c
commit e3f753ed14

View File

@ -5690,9 +5690,9 @@ After a copy `x` and `y` can be independent objects (value semantics, the way no
class X2 { // OK: pointer semantics
public:
X2();
X2(const X&) = default; // shallow copy
X2(const X2&) = default; // shallow copy
~X2() = default;
void modify(); // change the value of X
void modify(); // change the pointed-to value
// ...
private:
T* p;