63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
-
+
-
+
-
+
|
const string* m_pString = nullptr;
static unordered_set< string > m_strings;
};
}
namespace std
{
template<> struct hash< empathy::util::StringId >
template<> struct hash< goose::util::StringId >
{
size_t operator()( const empathy::util::StringId& x ) const
size_t operator()( const goose::util::StringId& x ) const
{
return hash< const char* >()( x.c_str() );
}
};
}
static inline auto operator "" _sid( const char* pString, std::size_t s )
{
return empathy::util::StringId( pString, s );
return goose::util::StringId( pString, s );
}
#endif
|