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

Method empty

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

Returns \c true if the vector is empty.

Source from the content-addressed store, hash-verified

426
427 /// Returns \c true if the vector is empty.
428 bool empty() const
429 {
430 return m_size == 0;
431 }
432
433 /// Returns the capacity of the vector.
434 size_type capacity() const

Callers 1

vectorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected