MCPcopy Create free account
hub / github.com/couchbase/fleece / operator[]

Method operator[]

Fleece/Core/Array.hh:95–95  ·  view source on GitHub ↗

Random access to items. Index is relative to the current item. This is very fast, faster than array::get(). */

Source from the content-addressed store, hash-verified

93 /** Random access to items. Index is relative to the current item.
94 This is very fast, faster than array::get(). */
95 const Value* operator[] (unsigned i) const noexcept FLPURE {return ((impl&)*this)[i];}
96
97 /** Returns false when the iterator reaches the end. */
98 explicit operator bool() const noexcept FLPURE {return _count > 0;}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected