Monday, March 28, 2011
Specialize swap
in C++ how do you specialize swap for your own Class? and what about a template?
Subscribe to:
Post Comments (Atom)
Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
1 comment:
Usually with a friend inline which is picked up by ADL. Don't specialize std::swap!
Reply Delete