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

Function cbegin

lesson6-Segmentation/json.hpp:21006–21011  ·  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

21004 @since version 1.0.0
21005 */
21006 const_iterator cbegin() const noexcept
21007 {
21008 const_iterator result(this);
21009 result.set_begin();
21010 return result;
21011 }
21012
21013 /*!
21014 @brief returns an iterator to one past the last element

Callers 3

frontFunction · 0.85
beginFunction · 0.85
crendFunction · 0.85

Calls 1

set_beginMethod · 0.45

Tested by

no test coverage detected