Closed 1uc closed 10 months ago
The modern pattern for constructors is to accept by value and move. This avoid duplication of the ctor at the (usually) negligible cost of at most one move.
The modern pattern for constructors is to accept by value and move. This avoid duplication of the ctor at the (usually) negligible cost of at most one move.