Remote Call Framework 3.4
set.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_SET_HPP
19 #define INCLUDE_SF_SET_HPP
20 
21 #include <set>
22 
23 #include <SF/SerializeStl.hpp>
24 
25 namespace SF {
26 
27  // std::set
28  template<typename K, typename T, typename A>
29  inline void serialize_vc6(SF::Archive &ar, std::set<K,T,A> &t, const unsigned int)
30  {
31  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
32  }
33 
34  // std::multiset
35  template<typename K, typename T, typename A>
36  inline void serialize_vc6(SF::Archive &ar, std::multiset<K,T,A> &t, const unsigned int)
37  {
38  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
39  }
40 
41 } // namespace SF
42 
43 #endif // ! INCLUDE_SF_SET_HPP
Represents an archive, in which serialized objects are stored.
Definition: Archive.hpp:31
Definition: ByteBuffer.hpp:188