1 #ifndef PROTON_CODEC_FORWARD_LIST_HPP
2 #define PROTON_CODEC_FORWARD_LIST_HPP
29 #include <forward_list>
36 template <
class T,
class A>
38 return e << encoder::array(x, internal::type_id_of<T>::value);
51 template <
class A,
class K,
class T>
58 template <
class A,
class K,
class T>
decoder&
operator>>(
decoder& d, std::forward_list<std::pair<K, T> , A>& x) {
return d >> decoder::pair_sequence(x); }
63 #endif // PROTON_CODEC_FORWARD_LIST_HPP