unordered_set 1.81 KB
Newer Older
1 2
// <unordered_set> -*- C++ -*-

3
// Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 5 6 7
//
// This file is part of the GNU ISO C++ Library.  This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
8
// Free Software Foundation; either version 3, or (at your option)
9 10 11 12 13 14 15
// any later version.

// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

16 17 18 19 20 21 22 23
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.

// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// <http://www.gnu.org/licenses/>.
24 25 26 27 28 29 30 31 32 33

/** @file include/unordered_set
 *  This is a Standard C++ Library header.
 */

#ifndef _GLIBCXX_UNORDERED_SET
#define _GLIBCXX_UNORDERED_SET 1

#pragma GCC system_header

34
#if __cplusplus < 201103L
35
# include <bits/c++0x_warning.h>
36
#else
37

38
#include <utility>
39
#include <type_traits>
40
#include <initializer_list>
41
#include <tuple>
42
#include <bits/stl_algobase.h>
43
#include <bits/allocator.h>
44
#include <bits/alloc_traits.h>
45 46 47
#include <bits/stl_function.h> // equal_to, _Identity, _Select1st
#include <bits/functional_hash.h>
#include <bits/hashtable.h>
48
#include <bits/unordered_set.h>
Paolo Carlini committed
49
#include <bits/range_access.h>
50

51 52 53 54
#ifdef _GLIBCXX_DEBUG
# include <debug/unordered_set>
#endif

55 56 57
#ifdef _GLIBCXX_PROFILE
# include <profile/unordered_set>
#endif
58
#endif // C++11
59

60
#endif // _GLIBCXX_UNORDERED_SET