Boost logo

Boost :

From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-04-12 05:52:55


"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.

--
Pavel Chikulaev 

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