MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / empty

Function empty

benchmarks/tbb/concurrent_vector.h:915–915  ·  view source on GitHub ↗

Return false if vector is not empty or has elements under construction at least.

Source from the content-addressed store, hash-verified

913
914 //! Return false if vector is not empty or has elements under construction at least.
915 bool empty() const {return !my_early_size;}
916
917 //! Maximum size to which array can grow without allocating more memory. Concurrent allocations are not included in the value.
918 size_type capacity() const {return internal_capacity();}

Callers 6

hash_map_rangeMethod · 0.70
task_listClass · 0.70
clearMethod · 0.70
clearMethod · 0.70
~range_vectorMethod · 0.70
emptyMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected