|
JSON for Modern C++
3.0
|
|
inline |
Returns a reference to the first element in the container. For a JSON container c, the expression c.front() is equivalent to *c.begin().
front on an empty container is undefined.| std::out_of_range | when called on null value |
true 17 23.42 1 1 "Hello, world"The example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/front.cpp -o front.