Skip to content

ArborX::BruteForce::empty

Andrey Prokopenko edited this page Oct 28, 2024 · 4 revisions

ArborX / Spatial indexes / ArborX::BruteForce

ArborX::BruteForce<MemorySpace>::empty()

KOKKOS_FUNCTION bool empty() const noexcept;

Checks if the data structure has no elements.

Parameters

(none)

Return value

true if the data structure is empty, false otherwise.

Complexity

Constant.

See also

size : returns the number of elements.

Clone this wiki locally