...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::container::swap — Swaps contents of two static_vectors.
// In header: <boost/container/static_vector.hpp> template<typename V, std::size_t C1, std::size_t C2, typename O1, typename O2> void swap(static_vector< V, C1, O1 > & x, static_vector< V, C2, O2 > & y);
This function calls static_vector::swap().
Complexity. Linear O(N).
Parameters: |
|