1 #ifndef PROTON_CODEC_LIST_HPP
2 #define PROTON_CODEC_LIST_HPP
38 template <
class T,
class A>
40 return e << encoder::array(x, internal::type_id_of<T>::value);
53 template <
class A,
class K,
class T>
60 template <
class A,
class K,
class T>
decoder&
operator>>(
decoder& d, std::list<std::pair<K, T> , A>& x) {
return d >> decoder::pair_sequence(x); }
Unsettled API - A stream-like decoder from AMQP bytes to C++ values.
Definition: decoder.hpp:56
Unsettled API - A stream-like encoder from C++ values to AMQP bytes.
Definition: encoder.hpp:50
Unsettled API - A stream-like decoder from AMQP bytes to C++ values.
Unsettled API - A stream-like encoder from C++ values to AMQP bytes.
encoder & operator<<(encoder &e, const std::deque< T, A > &x)
std::deque<T> for most T is encoded as an amqp::ARRAY (same type elements)
Definition: deque.hpp:37
std::enable_if< internal::is_unknown_integer< T >::value, decoder & >::type operator>>(decoder &d, T &i)
operator>> for integer types that are not covered by the standard overrides.
Definition: decoder.hpp:207
The main Proton namespace.
Definition: annotation_key.hpp:33