File: UnorderedSet.h

package info (click to toggle)
abyss 2.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,640 kB
  • sloc: cpp: 109,409; ansic: 6,510; makefile: 2,194; java: 1,354; sh: 732; perl: 672; haskell: 412; python: 45
file content (21 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef UNORDEREDSET_H
#define UNORDEREDSET_H 1

#include "config.h"
#include "Common/Hash.h"

#if HAVE_UNORDERED_SET
# include <unordered_set>
using std::unordered_set;
using std::unordered_multiset;
#elif HAVE_TR1_UNORDERED_SET
# include <tr1/unordered_set>
using std::tr1::unordered_set;
using std::tr1::unordered_multiset;
#else
# include <boost/unordered_set.hpp>
using boost::unordered_set;
using boost::unordered_multiset;
#endif

#endif