3 ms·
All std data structures (vector, map, etc.) have a copy constructor, and running it can be arbitrarily expensive.
by oasisaimlessly 3y ago
All std data structures (vector, map, etc.) have a copy constructor, and running it can be arbitrarily expensive.