Remote Call Framework 3.3
unordered_set.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_UNORDERED_SET_HPP
19 #define INCLUDE_SF_UNORDERED_SET_HPP
20 
21 #include <RCF/Config.hpp>
22 #ifdef RCF_USE_TR1
23 
24 #include RCF_TR1_HEADER(unordered_set)
25 
26 #include <SF/SerializeStl.hpp>
27 
28 namespace SF {
29 
30  // std::tr1::unordered_set
31  template<typename Key, typename Hash, typename Pred, typename Alloc>
32  inline void serialize_vc6(Archive &ar, std::tr1::unordered_set<Key,Hash,Pred,Alloc> &t, const unsigned int)
33  {
34  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
35  }
36 
37  // std::tr1::unordered_multiset
38  template<typename Key, typename Hash, typename Pred, typename Alloc>
39  inline void serialize_vc6(Archive &ar, std::tr1::unordered_multiset<Key,Hash,Pred,Alloc> &t, const unsigned int)
40  {
41  serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
42  }
43 
44 }
45 
46 #endif // RCF_USE_TR1
47 
48 #endif // ! INCLUDE_SF_UNORDERED_SET_HPP
Definition: ByteBuffer.hpp:188