Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
containers: fix swap for PiercedStorage<bool>
The [] operator of std::vector<bool> returns a temporary object of a proxy type called std::vector<bool>::reference, rather than an actual bool&. Although the libstdc++ defines an overload for swapping this type of proxy objects, this is just an extension to the standard.
- Loading branch information