MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / cbegin

Function cbegin

3rd/nlohmann_json/single_include/nlohmann/json.hpp:22221–22226  ·  view source on GitHub ↗

! @brief returns a const iterator to the first element Returns a const iterator to the first element. @image html range-begin-end.svg "Illustration from cppreference.com" @return const iterator to the first element @complexity Constant. @requirement This function helps `basic_json` satisfying the [Container](https://en.cppreference.com/w/cpp/named_req/Container)

Source from the content-addressed store, hash-verified

22219 @since version 1.0.0
22220 */
22221 const_iterator cbegin() const noexcept
22222 {
22223 const_iterator result(this);
22224 result.set_begin();
22225 return result;
22226 }
22227
22228 /*!
22229 @brief returns an iterator to one past the last element

Callers 3

frontFunction · 0.70
beginFunction · 0.70
crendFunction · 0.70

Calls 1

set_beginMethod · 0.45

Tested by

no test coverage detected