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