We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28c7c8c + 3483416 commit 55c2eeaCopy full SHA for 55c2eea
zmq_addon.hpp
@@ -93,6 +93,26 @@ class multipart_t
93
clear();
94
}
95
96
+ message_t& operator[] (size_t n)
97
+ {
98
+ return m_parts[n];
99
+ }
100
+
101
+ const message_t& operator[] (size_t n) const
102
103
104
105
106
+ message_t& at (size_t n)
107
108
+ return m_parts.at(n);
109
110
111
+ const message_t& at (size_t n) const
112
113
114
115
116
// Delete all parts
117
void clear()
118
{
0 commit comments