29 #ifndef _GLIBCXX_TYPEINDEX
30 #define _GLIBCXX_TYPEINDEX 1
32 #pragma GCC system_header
34 #ifndef __GXX_EXPERIMENTAL_CXX0X__
40 namespace std _GLIBCXX_VISIBILITY(default)
42 _GLIBCXX_BEGIN_NAMESPACE_VERSION
52 : _M_target(&__rhs) { }
56 {
return *_M_target == *__rhs._M_target; }
60 {
return *_M_target != *__rhs._M_target; }
64 {
return _M_target->before(*__rhs._M_target); }
68 {
return !__rhs._M_target->before(*_M_target); }
72 {
return __rhs._M_target->before(*_M_target); }
76 {
return !_M_target->before(*__rhs._M_target); }
80 {
return _M_target->hash_code(); }
84 {
return _M_target->
name(); }
90 template<
typename _Tp>
struct hash;
96 typedef size_t result_type;
101 {
return __ti.hash_code(); }
104 _GLIBCXX_END_NAMESPACE_VERSION
107 #endif // __GXX_EXPERIMENTAL_CXX0X__
109 #endif // _GLIBCXX_TYPEINDEX
const char * name() const
Primary class template hash.
The class type_index provides a simple wrapper for type_info which can be used as an index type in as...