|
|
@ -64,7 +64,7 @@ ABSL_NAMESPACE_BEGIN |
|
|
|
// `std::vector` for use cases where the vector's size is sufficiently small
|
|
|
|
// `std::vector` for use cases where the vector's size is sufficiently small
|
|
|
|
// that it can be inlined. If the inlined vector does grow beyond its estimated
|
|
|
|
// that it can be inlined. If the inlined vector does grow beyond its estimated
|
|
|
|
// capacity, it will trigger an initial allocation on the heap, and will behave
|
|
|
|
// capacity, it will trigger an initial allocation on the heap, and will behave
|
|
|
|
// as a `std:vector`. The API of the `absl::InlinedVector` within this file is
|
|
|
|
// as a `std::vector`. The API of the `absl::InlinedVector` within this file is
|
|
|
|
// designed to cover the same API footprint as covered by `std::vector`.
|
|
|
|
// designed to cover the same API footprint as covered by `std::vector`.
|
|
|
|
template <typename T, size_t N, typename A = std::allocator<T>> |
|
|
|
template <typename T, size_t N, typename A = std::allocator<T>> |
|
|
|
class InlinedVector { |
|
|
|
class InlinedVector { |
|
|
|