Remote Call Framework 3.0
hash_map.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2018, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 3.0
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_SF_HASH_MAP_HPP
20 #define INCLUDE_SF_HASH_MAP_HPP
21 
22 #include <RCF/Config.hpp>
23 #ifdef RCF_USE_HASH_MAP
24 
25 #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
26 #include RCF_HASH_MAP_HEADER(hash_map)
27 
28 #include <SF/SerializeStl.hpp>
29 
30 namespace SF {
31 
32  // hash_map
33  template<typename Key, typename Value, typename Hash, typename Alloc>
34  inline void serialize_vc6(Archive &ar, RCF_HASH_MAP_NS::hash_map<Key, Value, Hash, Alloc> &t, const unsigned int)
35  {
36  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
37  }
38 
39  // hash_multimap
40  template<typename Key, typename Value, typename Hash, typename Alloc>
41  inline void serialize_vc6(Archive &ar, RCF_HASH_MAP_NS::hash_multimap<Key, Value, Hash, Alloc> &t, const unsigned int)
42  {
43  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
44  }
45 
46 }
47 
48 #endif // RCF_USE_HASH_MAP
49 
50 #endif // ! INCLUDE_SF_HASH_MAP_HPP
Definition: ByteBuffer.hpp:189