Remote Call Framework 3.0
utility.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2018, 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.0
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_SF_UTILITY_HPP
20 #define INCLUDE_SF_UTILITY_HPP
21 
22 #include <utility>
23 
24 #include <SF/Archive.hpp>
25 
26 namespace SF {
27 
28  // std::pair
29  template<typename T, typename U>
30  inline void serialize_vc6(Archive &ar, std::pair<T,U> &t, const unsigned int)
31  {
32  ar & t.first & t.second;
33  }
34 
35 } // namespace SF
36 
37 #endif // ! INCLUDE_SF_UTILITY_HPP
Definition: ByteBuffer.hpp:189