Remote Call Framework 3.4
utility.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_UTILITY_HPP
19 #define INCLUDE_SF_UTILITY_HPP
20 
21 #include <utility>
22 
23 #include <SF/Archive.hpp>
24 
25 namespace SF {
26 
27  // std::pair
28  template<typename T, typename U>
29  inline void serialize_vc6(Archive &ar, std::pair<T,U> &t, const unsigned int)
30  {
31  ar & t.first & t.second;
32  }
33 
34 } // namespace SF
35 
36 #endif // ! INCLUDE_SF_UTILITY_HPP
Definition: ByteBuffer.hpp:188