Remote Call Framework 3.2
set.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2020, 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.2
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_SF_SET_HPP
20 #define INCLUDE_SF_SET_HPP
21 
22 #include <set>
23 
24 #include <SF/SerializeStl.hpp>
25 
26 namespace SF {
27 
28  // std::set
29  template<typename K, typename T, typename A>
30  inline void serialize_vc6(SF::Archive &ar, std::set<K,T,A> &t, const unsigned int)
31  {
32  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
33  }
34 
35  // std::multiset
36  template<typename K, typename T, typename A>
37  inline void serialize_vc6(SF::Archive &ar, std::multiset<K,T,A> &t, const unsigned int)
38  {
39  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
40  }
41 
42 } // namespace SF
43 
44 #endif // ! INCLUDE_SF_SET_HPP
Represents an archive, in which serialized objects are stored.
Definition: Archive.hpp:32
Definition: ByteBuffer.hpp:189