diff options
Diffstat (limited to 'third_party/absl/container/flat_hash_set.h')
-rw-r--r-- | third_party/absl/container/flat_hash_set.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/third_party/absl/container/flat_hash_set.h b/third_party/absl/container/flat_hash_set.h new file mode 100644 index 0000000..199f866 --- /dev/null +++ b/third_party/absl/container/flat_hash_set.h @@ -0,0 +1,29 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License.! + +#ifndef ABSL_CONTAINER_FLAT_HASH_SET_ +#define ABSL_CONTAINER_FLAT_HASH_SET_ + +#include <unordered_set> + +namespace absl { + +template <typename T, typename Hash = std::hash<T>, + typename Eq = std::equal_to<T>, + typename Allocator = std::allocator<T>> +using flat_hash_set = std::unordered_set<T, Hash, Eq, Allocator>; + +} + +#endif // ABSL_CONTAINER_FLAT_HASH_SET_ |