
12 Apr
2005
12 Apr
'05
10:52 a.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:d3fqsr$k4o$3@sea.gmane.org...
"Pavel Chikulaev" <pavel.chikulaev@gmail.com> wrote in message it will work on some libraries where it is guaranteed that a user defined swap will be found.
Maybe introduce new traits class something like is_swappable? And then specialize it for Swap, swap, SwapMe user's class member functions? With this technique we can cover almost everything, and this will simplify implementing algorithms a lot. -- Pavel Chikulaev