MCPcopy Create free account
hub / github.com/ceph/ceph / mini_flat_map

Method mini_flat_map

src/common/mini_flat_map.h:160–165  ·  view source on GitHub ↗

Basic constructor. The mini_flat_map cannot be re-sized, so there is no * default constructor. */

Source from the content-addressed store, hash-verified

158 * default constructor.
159 */
160 mini_flat_map(size_t max_size)
161 : data(max_size),
162 _end(this, max_size),
163 _const_end(this, max_size),
164 _size(0) {
165 }
166
167 /** Move constructor, forwards the move to the vector
168 * This has O(N) complexity.

Callers

nothing calls this directly

Calls 4

emplaceFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected