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

Method operator[]

API/fleece/Mutable.hh:133–135  ·  view source on GitHub ↗

This enables e.g. `array[10] = 17`

Source from the content-addressed store, hash-verified

131
132 // This enables e.g. `array[10] = 17`
133 inline keyref<MutableArray,uint32_t> operator[] (int i) {
134 return keyref<MutableArray,uint32_t>(*this, i);
135 }
136
137 inline Value operator[] (int index) const {return get(index);} // const version
138

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected