mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
commit
ea60cc9b3d
@ -853,7 +853,7 @@ pt2 = nullptr; // Устанавливает pt2 в null.
|
||||
|
||||
// '=' != '=' != '='!
|
||||
// Вызывает Foo::Foo(const Foo&) или некий вариант (смотрите "move semantics")
|
||||
// копирования конструктора.
|
||||
// конструктора копирования.
|
||||
Foo f2;
|
||||
Foo f1 = f2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user