You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should probably be mentioned that the copy/move ctor should never be explicit.
And by 'never' does mean 'rarely' (as usual) or does it really mean never?
A heavy class, ie an Image class should probably not have a copy-ctor.
Typically a copy() or clone() function makes it more clear than there is no free lunch.
Would an explicit copy-ctor actually make sense here?
The text was updated successfully, but these errors were encountered:
It should probably be mentioned that the copy/move ctor should never be explicit.
And by 'never' does mean 'rarely' (as usual) or does it really mean never?
A heavy class, ie an Image class should probably not have a copy-ctor.
Typically a copy() or clone() function makes it more clear than there is no free lunch.
Would an explicit copy-ctor actually make sense here?
The text was updated successfully, but these errors were encountered: