the copy ctor typo and comment fixes from #1125

pull/1134/head
Sergey Zubkov 8 years ago
parent 15ca9d220c
commit e3f753ed14

@ -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;

Loading…
Cancel
Save