47 #ifndef MUI_STREAM_ORDERED_H
48 #define MUI_STREAM_ORDERED_H
56 template<
typename K,
typename V>
62 for( std::uint64_t i=0; i<size; ++i ) {
65 map.emplace(std::move(p));
70 template<
typename K,
typename V>
74 for(
const auto& p : map ) stream << p;
78 template<
typename K,
typename V>
83 std::multimap<K,V> map;
84 for( std::uint64_t i=0; i<size; ++i ) {
87 map.emplace(std::ove(p));
92 template<
typename K,
typename V>
96 for(
const auto& p : map ) stream << p;
106 for( std::uint64_t i=0; i<size; ++i ) {
109 set.emplace(std::move(k));
118 stream << set.size();
119 for(
auto& k : set ) stream << k;
129 std::multiset<K> set;
130 for( std::uint64_t i=0; i<size; ++i ) {
133 set.emplace(std::move(k));
142 stream << set.size();
143 for(
const auto& k : set ) stream << k;
istream & operator>>(istream &stream, smalluint &sml)
Definition: comm_tcp.h:103
ostream & operator<<(ostream &stream, const smalluint &sml)
Definition: comm_tcp.h:127
Defines base stream class container_stream and associated functors.