unordered_map 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // <unordered_map> -*- C++ -*-
  2. // Copyright (C) 2007-2018 Free Software Foundation, Inc.
  3. //
  4. // This file is part of the GNU ISO C++ Library. This library is free
  5. // software; you can redistribute it and/or modify it under the
  6. // terms of the GNU General Public License as published by the
  7. // Free Software Foundation; either version 3, or (at your option)
  8. // any later version.
  9. // This library is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. // Under Section 7 of GPL version 3, you are granted additional
  14. // permissions described in the GCC Runtime Library Exception, version
  15. // 3.1, as published by the Free Software Foundation.
  16. // You should have received a copy of the GNU General Public License and
  17. // a copy of the GCC Runtime Library Exception along with this program;
  18. // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  19. // <http://www.gnu.org/licenses/>.
  20. /** @file include/unordered_map
  21. * This is a Standard C++ Library header.
  22. */
  23. #ifndef _GLIBCXX_UNORDERED_MAP
  24. #define _GLIBCXX_UNORDERED_MAP 1
  25. #pragma GCC system_header
  26. #if __cplusplus < 201103L
  27. # include <bits/c++0x_warning.h>
  28. #else
  29. #include <type_traits>
  30. #include <initializer_list>
  31. #include <bits/allocator.h>
  32. #include <ext/alloc_traits.h>
  33. #include <ext/aligned_buffer.h>
  34. #include <bits/stl_pair.h>
  35. #include <bits/stl_function.h> // equal_to, _Identity, _Select1st
  36. #include <bits/functional_hash.h>
  37. #include <bits/hashtable.h>
  38. #include <bits/unordered_map.h>
  39. #include <bits/range_access.h>
  40. #ifdef _GLIBCXX_DEBUG
  41. # include <debug/unordered_map>
  42. #endif
  43. #ifdef _GLIBCXX_PROFILE
  44. # include <profile/unordered_map>
  45. #endif
  46. #endif // C++11
  47. #endif // _GLIBCXX_UNORDERED_MAP