Lines Matching refs:SmallVector
76 class SmallVector final : ArrayTraits<T>, ArrayComparators<SmallVector> {
78 using Dynamic = SmallVector<T, 0>;
100 SmallVector() = default;
105 SmallVector(Arg&& arg, Args&&... args) in SmallVector() function
110 SmallVector(const SmallVector<U, M>& other) in SmallVector() function
111 : SmallVector(kIteratorRange, other.begin(), other.end()) {} in SmallVector()
113 void swap(SmallVector& other) { vector_.swap(other.vector_); } in swap()
160 const_reference operator[](size_type i) const { return const_cast<SmallVector&>(*this)[i]; }
269 class SmallVector<T, 0> final : ArrayTraits<T>,
270 ArrayIterators<SmallVector<T, 0>, T>,
274 using Iter = ArrayIterators<SmallVector, T>;
355 void swap(SmallVector& other) { Impl::swap(other); } in swap()
362 struct is_small_vector<SmallVector<T, N>> : std::true_type {};
366 SmallVector(T (&)[N]) -> SmallVector<std::remove_cv_t<T>, N>;
371 SmallVector(T&&, Us&&...) -> SmallVector<V, 1 + sizeof...(Us)>;
375 SmallVector(InitializerList<T, std::index_sequence<Sizes...>, Types...>&&)
376 -> SmallVector<T, sizeof...(Sizes)>;
380 SmallVector(StaticVector<T, N>&&) -> SmallVector<T, N>;
383 inline void swap(SmallVector<T, N>& lhs, SmallVector<T, N>& rhs) {