DragonNest/Common/NxServerLib/include/NxDataStructure.h
2024-12-20 16:56:44 +08:00

35 lines
1.7 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include <list>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#include <set>
#include <hash_map>
#include "NxSyncObject.h"
// 傲 老纳 静磊. -_-a;
template< typename _T >
class NxList : public std::list<_T>, public NxSyncObject { };
template< typename _T >
class NxVector : public std::vector<_T>, public NxSyncObject { };
template< typename _T >
class NxQueue : public std::queue<_T>, public NxSyncObject { };
template< typename _T >
class NxStack : public std::stack<_T>, public NxSyncObject { };
template< typename _T>
class NxSet : public std::set<_T>, public NxSyncObject { };
template< typename _T1, typename _T2 >
class NxMap : public std::map<_T1, _T2>, public NxSyncObject { };
template< typename _T1, typename _T2 >
class NxHashMap : public stdext::hash_map<_T1, _T2>, public NxSyncObject { };