Remote Call Framework 3.3
hash_map.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2022, Delta V Software. All rights reserved.
6 // https://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 under GPL terms.
12 //
13 // Version: 3.3
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_SF_HASH_MAP_HPP
19 #define INCLUDE_SF_HASH_MAP_HPP
20 
21 #include <RCF/Config.hpp>
22 #ifdef RCF_USE_HASH_MAP
23 
24 #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
25 #include RCF_HASH_MAP_HEADER(hash_map)
26 
27 #include <SF/SerializeStl.hpp>
28 
29 namespace SF {
30 
31  // hash_map
32  template<typename Key, typename Value, typename Hash, typename Alloc>
33  inline void serialize_vc6(Archive &ar, RCF_HASH_MAP_NS::hash_map<Key, Value, Hash, Alloc> &t, const unsigned int)
34  {
35  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
36  }
37 
38  // hash_multimap
39  template<typename Key, typename Value, typename Hash, typename Alloc>
40  inline void serialize_vc6(Archive &ar, RCF_HASH_MAP_NS::hash_multimap<Key, Value, Hash, Alloc> &t, const unsigned int)
41  {
42  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
43  }
44 
45 }
46 
47 #endif // RCF_USE_HASH_MAP
48 
49 #endif // ! INCLUDE_SF_HASH_MAP_HPP
Definition: ByteBuffer.hpp:188