Glossary: C++ Beyond the Basics
Copy assignment
Also written: copy assignment operator
`operator=` taking `const T&`, which copies one object's contents into an existing object. `copy = lines;` runs it.
Glossary: C++ Beyond the Basics
Also written: copy assignment operator
`operator=` taking `const T&`, which copies one object's contents into an existing object. `copy = lines;` runs it.