diff options
Diffstat (limited to 'ACE/ace/Hash_Map_With_Allocator_T.cpp')
-rw-r--r-- | ACE/ace/Hash_Map_With_Allocator_T.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ACE/ace/Hash_Map_With_Allocator_T.cpp b/ACE/ace/Hash_Map_With_Allocator_T.cpp new file mode 100644 index 00000000000..9927147e865 --- /dev/null +++ b/ACE/ace/Hash_Map_With_Allocator_T.cpp @@ -0,0 +1,35 @@ +// $Id$ + +#ifndef ACE_HASH_MAP_WITH_ALLOCATOR_T_CPP +#define ACE_HASH_MAP_WITH_ALLOCATOR_T_CPP + +#include "ace/Hash_Map_With_Allocator_T.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#if !defined (__ACE_INLINE__) +#include "ace/Hash_Map_With_Allocator_T.inl" +#endif /* __ACE_INLINE__ */ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template <class EXT_ID, class INT_ID> +ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::ACE_Hash_Map_With_Allocator (ACE_Allocator *alloc) + : ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_Null_Mutex> (alloc) +{ + ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::ACE_Hash_Map_With_Allocator"); +} + +template <class EXT_ID, class INT_ID> +ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::ACE_Hash_Map_With_Allocator (size_t size, + ACE_Allocator *alloc) + : ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_Null_Mutex> (size, alloc) +{ + ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::ACE_Hash_Map_With_Allocator"); +} + +ACE_END_VERSIONED_NAMESPACE_DECL + +#endif /* ACE_HASH_MAP_WITH_ALLOCATOR_T_CPP */ |