1#ifndef PROTON_CODEC_FORWARD_LIST_HPP
2#define PROTON_CODEC_FORWARD_LIST_HPP
29#include <forward_list>
36template <
class T,
class A>
38 return e << encoder::array(x, internal::type_id_of<T>::value);
51template <
class A,
class K,
class T>
58template <
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); }
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.
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
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
The main Proton namespace.
Definition annotation_key.hpp:33