bits/functional_hash.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _FUNCTIONAL_HASH_H
00031 #define _FUNCTIONAL_HASH_H 1
00032
00033 #pragma GCC system_header
00034
00035 #ifndef __GXX_EXPERIMENTAL_CXX0X__
00036 # include <c++0x_warning.h>
00037 #endif
00038
00039 #if defined(_GLIBCXX_INCLUDE_AS_TR1)
00040 # error C++0x header cannot be included from TR1 header
00041 #endif
00042
00043 #if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
00044 # include <tr1_impl/functional_hash.h>
00045 #else
00046 # define _GLIBCXX_INCLUDE_AS_CXX0X
00047 # define _GLIBCXX_BEGIN_NAMESPACE_TR1
00048 # define _GLIBCXX_END_NAMESPACE_TR1
00049 # define _GLIBCXX_TR1
00050 # include <tr1_impl/functional_hash.h>
00051 # undef _GLIBCXX_TR1
00052 # undef _GLIBCXX_END_NAMESPACE_TR1
00053 # undef _GLIBCXX_BEGIN_NAMESPACE_TR1
00054 # undef _GLIBCXX_INCLUDE_AS_CXX0X
00055 #endif
00056
00057
00058 namespace std
00059 {
00060 struct error_code;
00061
00062 template<>
00063 size_t
00064 hash<error_code>::operator()(error_code) const;
00065 }
00066
00067 #endif // _FUNCTIONAL_HASH_H
00068