MCPcopy Create free account
hub / github.com/axmolengine/axmol / empty

Method empty

core/base/Vector.h:212–212  ·  view source on GitHub ↗

@brief Returns whether the Vector is empty (i.e. whether its size is 0). * @note This function does not modify the container in any way. To clear the content of a vector, see * Vector::clear. */

Source from the content-addressed store, hash-verified

210 * Vector::clear.
211 */
212 bool empty() const { return _data.empty(); }
213
214 /** Returns the maximum number of elements that the Vector can hold. */
215 ssize_t max_size() const { return _data.max_size(); }

Callers 3

getRandomObjectMethod · 0.45
popBackMethod · 0.45
eraseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected