Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-04-12 06:13:16


"Pavel Chikulaev" <pavel.chikulaev_at_[hidden]> wrote in message
news:d3g95g$rj8$1_at_sea.gmane.org...
| "Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
| news:d3fqsr$k4o$3_at_sea.gmane.org...
| > "Pavel Chikulaev" <pavel.chikulaev_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk