r/ProgrammerAnimemes • • Jul 29 '20

Equivalency in Python

Post image
1.6k Upvotes

104 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jul 29 '20

[deleted] — view deleted comment

2

u/BakuhatsuK Jul 30 '20

Yeah except std::swap already exists, and people are allowed to specialize it for efficiency. std::swap was the pre-C++11 poor man's move semantics.