User: cosmos

  • Public profile

User profile: cosmos

User info
User name:cosmos
Old user name:xlnwel
History
Joined:
Number of posts:10
Latest posts:

why should we define a specialization std::swap?
thank you very much!

why should we define a specialization std::swap?
thanks for your answering. but i still have a little question. if we specialize std::swap, and have ...

why should we define a specialization std::swap?
according to item 25 in effective C++ 3rd. we should define a nonmember swap in the same namespace a...

since c++11 introduce move, is it necessary to define a swap for our own type?
according to item 25 in effective C++ 3rd edition, if we have a class with a pointer to another type...

why does compiler complain "no matching function for call to 'swap'" once i define move assignment operator
thank you very much!

This user does not accept Private Messages