We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
begin
end
std::vector
json_arrayt
1 parent 402bc56 commit f3670e3Copy full SHA for f3670e3
src/util/json.h
@@ -178,6 +178,36 @@ class json_arrayt:public jsont
178
array.emplace_back(std::forward<argumentst>(arguments)...);
179
}
180
181
+ std::vector<jsont>::iterator begin()
182
+ {
183
+ return array.begin();
184
+ }
185
+
186
+ std::vector<jsont>::const_iterator begin() const
187
188
189
190
191
+ std::vector<jsont>::const_iterator cbegin() const
192
193
+ return array.cbegin();
194
195
196
+ std::vector<jsont>::iterator end()
197
198
+ return array.end();
199
200
201
+ std::vector<jsont>::const_iterator end() const
202
203
204
205
206
+ std::vector<jsont>::const_iterator cend() const
207
208
+ return array.cend();
209
210
211
typedef jsont value_type; // NOLINT(readability/identifiers)
212
};
213
0 commit comments