Now that we explained move semantics

This commit is contained in:
Geoff Liu 2015-08-30 14:46:46 -06:00
parent a230d76307
commit fc9ae44e48

View File

@ -751,7 +751,8 @@ pt2 = nullptr; // Sets pt2 to null.
// '=' != '=' != '='!
// Calls Foo::Foo(const Foo&) or some variant copy constructor.
// Calls Foo::Foo(const Foo&) or some variant (see move semantics) copy
// constructor.
Foo f2;
Foo f1 = f2;