2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
#ifdef _XBOX
|
|
|
|
|
//using namespace std;
|
|
|
|
|
namespace std
|
|
|
|
|
{
|
|
|
|
|
namespace tr1
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
template<class T>
|
2026-03-02 17:37:16 +07:00
|
|
|
class hash< shared_ptr<T> >
|
2026-03-01 12:16:08 +08:00
|
|
|
{
|
|
|
|
|
public:
|
2026-03-02 17:37:16 +07:00
|
|
|
size_t operator()(const shared_ptr<T>& key) const
|
2026-03-01 12:16:08 +08:00
|
|
|
{
|
|
|
|
|
return (size_t)key.get();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|