|
Boost Users : |
Subject: [Boost-users] Is bimap swappable?
From: Adam Badura (abadura_at_[hidden])
Date: 2009-02-10 03:09:06
The documentation for Boost.Bimap does not mention that bimap is
swappable (but it does not warn explicitly that it is not - which it
should IMHO if it is not). When compiling the code (under VC 2008,
Boost 1.38) a.swap(b) compiles for a and b being bimap of the same
type.
How is it then?
Adam Badura
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net