MCPcopy Create free account
hub / github.com/boostorg/compute / capacity

Method capacity

include/boost/compute/container/vector.hpp:413–416  ·  view source on GitHub ↗

Returns the capacity of the vector.

Source from the content-addressed store, hash-verified

411
412 /// Returns the capacity of the vector.
413 size_type capacity() const
414 {
415 return m_data.get_buffer().size() / sizeof(T);
416 }
417
418 void reserve(size_type size, command_queue &queue)
419 {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected