Lines Matching refs:Container
33 using Container = std::vector<std::pair<const Key, T>, Allocator>;
34 using iterator = typename Container::iterator;
35 using const_iterator = typename Container::const_iterator;
36 using size_type = typename Container::size_type;
37 using value_type = typename Container::value_type;
44 // Explicit constructors instead of `using Container::Container`
46 ordered_map() noexcept(noexcept(Container())) : Container{} {}
47 explicit ordered_map(const Allocator& alloc) noexcept(noexcept(Container(alloc))) : Container{alloc} {}
50 : Container{first, last, alloc} {}
52 : Container{init, alloc} {}
63 Container::emplace_back(key, std::forward<T>(t));
78 Container::emplace_back(std::forward<KeyType>(key), std::forward<T>(t));
174 Container::pop_back();
195 Container::pop_back();
215 const auto offset = std::distance(Container::begin(), first);
237 for (auto it = first; std::next(it, elements_affected) != Container::end(); ++it)
248 Container::resize(this->size() - static_cast<size_type>(elements_affected));
257 return Container::begin() + offset;
295 return Container::end();
309 return Container::end();
321 return Container::end();
338 Container::push_back(value);