erase__size_type.cpp
Go to the documentation of this file.
00001 #include <json.hpp>
00002 
00003 using json = nlohmann::json;
00004 
00005 int main()
00006 {
00007     // create a JSON array
00008     json j_array = {0, 1, 2, 3, 4, 5};
00009 
00010     // call erase
00011     j_array.erase(2);
00012 
00013     // print values
00014     std::cout << j_array << '\n';
00015 }


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02