Remote Call Framework 3.4
map.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2023, 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.4
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_SF_MAP_HPP
19 #define INCLUDE_SF_MAP_HPP
20 
21 #include <map>
22 
23 #include <SF/SerializeStl.hpp>
24 #include <SF/utility.hpp>
25 
26 namespace SF {
27 
28  // std::map
29  template<typename K, typename T1, typename T2, typename A>
30  inline void serialize_vc6(Archive &ar, std::map<K,T1,T2,A> &t, const unsigned int)
31  {
32  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
33  }
34 
35  // std::multimap
36  template<typename K, typename T1, typename T2, typename A>
37  inline void serialize_vc6(Archive &ar, std::multimap<K,T1,T2,A> &t, const unsigned int)
38  {
39  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
40  }
41 
42 }
43 
44 #endif // ! INCLUDE_SF_MAP_HPP
Definition: ByteBuffer.hpp:188