reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

usr/include/c++/7.4.0/bits/basic_string.tcc
  137       if (__capacity > max_size())
  143       if (__capacity > __old_capacity && __capacity < 2 * __old_capacity)
  143       if (__capacity > __old_capacity && __capacity < 2 * __old_capacity)
  145 	  __capacity = 2 * __old_capacity;
  147 	  if (__capacity > max_size())
  148 	    __capacity = max_size();
  153       return _Alloc_traits::allocate(_M_get_allocator(), __capacity + 1);