70 if (static_cast<uint64_t>(capacity) * 2 > std::numeric_limits<uint32_t>::max())
71 capacity_ = std::numeric_limits<uint32_t>::max();
void swap(Bag &a, Bag &b)
uint32_t getCapacity() const
void setSize(uint32_t size)
void ensureCapacity(uint32_t capacity)