Pothos  0.5.0-ga4964040
The Pothos dataflow programming software suite
Pair.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <utility> //pair
14 
15 namespace Pothos {
16 namespace serialization {
17 
18 template <typename Archive, typename F, typename L>
19 void serialize(Archive &ar, std::pair<F, L> &t, const unsigned int)
20 {
21  ar & t.first;
22  ar & t.second;
23 }
24 
25 }}
Definition: ArchiveEntry.hpp:20
void serialize(Archive &ar, std::complex< T > &t, const unsigned int ver)
Definition: Complex.hpp:37