| // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_CONTAINERS_H_ |
| #define QUICHE_COMMON_PLATFORM_API_QUICHE_CONTAINERS_H_ |
| |
| #include "quiche_platform_impl/quiche_containers_impl.h" |
| |
| namespace quiche { |
| |
| // An ordered container optimized for small sets. |
| // An implementation with O(n) mutations might be chosen |
| // in case it has better memory usage and/or faster access. |
| // |
| // DOES NOT GUARANTEE POINTER OR ITERATOR STABILITY! |
| template <typename Key, typename Compare = std::less<Key>> |
| using QuicheSmallOrderedSet = QuicheSmallOrderedSetImpl<Key, Compare>; |
| |
| } // namespace quiche |
| |
| #endif // QUICHE_COMMON_PLATFORM_API_QUICHE_CONTAINERS_H_ |