Base class for deques.
This type does not depend on the type of the elements being stored in the container.
| CountAndCapacityType | Type that encapsulates the containers overall capacity and current count of elements. Different implementation may add additional behavior when the count or capacity changes. |
Public Types | |
| using | size_type = typename CountAndCapacityType::size_type |
Protected Member Functions | |
| CountAndCapacityType & | count_and_capacity () noexcept |
| constexpr void | MoveAssignIndices (GenericDequeBase &other) noexcept |
| void | SwapIndices (GenericDequeBase &other) noexcept |
| bool | CanExtendBuffer () const |
| bool | CanShrinkBuffer () const |
| void | HandleNewBuffer (size_type new_capacity) |
| void | HandleExtendedBuffer (size_type new_capacity) |
| void | HandleShrunkBuffer (size_type new_capacity) |
Friends | |
| template<typename Derived , typename ValueType , typename S > | |
| class | GenericDeque |