MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / items

Function items

lesson6-Segmentation/json.hpp:21356–21359  ·  view source on GitHub ↗

! @brief helper to access iterator member functions in range-based for This function allows to access @ref iterator::key() and @ref iterator::value() during range-based for loops. In these loops, a reference to the JSON values is returned, so there is no access to the underlying iterator. For loop without `items()` function: @code{cpp} for (auto it = j_object.beg

Source from the content-addressed store, hash-verified

21354 @since version 3.1.0, structured bindings support since 3.5.0.
21355 */
21356 iteration_proxy<iterator> items() noexcept
21357 {
21358 return iteration_proxy<iterator>(*this);
21359 }
21360
21361 /*!
21362 @copydoc items()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected