MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / main

Function main

examples/src/array_examples.cpp:223–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223int main()
224{
225 std::cout << "\nArray examples\n\n";
226
227 try
228 {
229 array_example1();
230 construct_json_from_vector();
231 add_element_to_array();
232 reserve_array_capacity();
233 accessing_a_json_value_as_a_vector();
234 make_empty_array();
235 array_range_based_for_loop();
236 make_1_dimensional_array_1();
237 make_1_dimensional_array_2();
238 make_2_dimensional_array();
239 make_3_dimensional_array();
240 reverse_array_iterator();
241 }
242 catch (const std::exception& e)
243 {
244 std::cout << e.what() << '\n';
245 }
246}
247

Callers

nothing calls this directly

Calls 13

array_example1Function · 0.85
add_element_to_arrayFunction · 0.85
reserve_array_capacityFunction · 0.85
make_empty_arrayFunction · 0.85
make_2_dimensional_arrayFunction · 0.85
make_3_dimensional_arrayFunction · 0.85
reverse_array_iteratorFunction · 0.85

Tested by

no test coverage detected