MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / items

Function items

Source/Utils/json.hpp:21355–21358  ·  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}

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected