
12 Apr
2005
12 Apr
'05
11:13 a.m.
"Pavel Chikulaev" <pavel.chikulaev@gmail.com> wrote in message news:d3g95g$rj8$1@sea.gmane.org... | "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. This beyond what I'm trying to do. We can't just change all standard library implementations. -Thorsten