MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UnorderedSet.hpp
1 #ifndef UNORDEREDSET_HPP
2 #define UNORDEREDSET_HPP
3 
4 #include <Config.hpp>
5 
6 #ifdef __GNUC__
7 # include <Features.hpp>
8 # if __GNUC_PREREQ(4, 0)
9 # include <tr1/unordered_set>
10 namespace std {
11 using namespace std::tr1;
12 }
13 # ifndef HASH_NEED_TR1
14 # define HASH_NEED_TR1
15 # endif
16 # else
17 # error "GCC do not have unordered_set before the version 4.0"
18 # endif
19 #else
20 # warning "unordered_set is not identified for your compiler. Assumes it's defined as in C++11."
21 # include <unordered_set>
22 #endif
23 
24 #endif // UNORDEREDSET_HPP