MorphoGraphX
UnorderedSet.hpp
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef UNORDEREDSET_HPP
12 #define UNORDEREDSET_HPP
13 
14 #include <Config.hpp>
15 
16 #ifdef __GNUC__
17 # include <Features.hpp>
18 # if __GNUC_PREREQ(4, 0)
19 # include <tr1/unordered_set>
20 namespace std {
21 using namespace std::tr1;
22 }
23 # ifndef HASH_NEED_TR1
24 # define HASH_NEED_TR1
25 # endif
26 # else
27 # error "GCC do not have unordered_set before the version 4.0"
28 # endif
29 #else
30 # warning "unordered_set is not identified for your compiler. Assumes it's defined as in C++11."
31 # include <unordered_set>
32 #endif
33 
34 #endif // UNORDEREDSET_HPP
STL namespace.
Definition: Edge.hpp:406