▲ | machina_ex_deus 5 days ago | ||||||||||||||||
I would never have this typo as I usually delete the copy constructor in heavy structures. | |||||||||||||||||
▲ | colonwqbang 5 days ago | parent | next [-] | ||||||||||||||||
Do you ever use the C++ standard library? Most types have a copy ctor defined, also the really "heavy" ones. | |||||||||||||||||
▲ | lionkor 5 days ago | parent | prev [-] | ||||||||||||||||
this is the defensive and correct C++ approach, anyways. | |||||||||||||||||
|