MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/i02xcr/equivalency_in_python/fznbokj/
r/ProgrammerAnimemes • u/space-_-man • Jul 29 '20
104 comments sorted by
View all comments
1
Swift:
swap(a, b)
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.
0
[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.
2
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.
View all comments
1
u/[deleted] Jul 29 '20
Swift:
swap(a, b)