Remote Call Framework 3.0
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_MAP_HPP
20 #define INCLUDE_SF_MAP_HPP
21 
22 #include <map>
23 
24 #include <SF/SerializeStl.hpp>
25 #include <SF/utility.hpp>
26 
27 namespace SF {
28 
29  // std::map
30  template<typename K, typename T1, typename T2, typename A>
31  inline void serialize_vc6(Archive &ar, std::map<K,T1,T2,A> &t, const unsigned int)
32  {
33  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
34  }
35 
36  // std::multimap
37  template<typename K, typename T1, typename T2, typename A>
38  inline void serialize_vc6(Archive &ar, std::multimap<K,T1,T2,A> &t, const unsigned int)
39  {
40  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
41  }
42 
43 }
44 
45 #endif // ! INCLUDE_SF_MAP_HPP
Definition: ByteBuffer.hpp:189