1 #ifndef PROTON_CODEC_VECTOR_HPP
2 #define PROTON_CODEC_VECTOR_HPP
39 return e << encoder::array(x, internal::type_id_of<T>::value);
49 template <
class A,
class K,
class T>
56 template <
class A,
class K,
class T>
decoder&
operator>>(
decoder& d, std::vector<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