Skip to content

ArborX::BruteForce::empty

Damien L-G edited this page Jan 22, 2021 · 2 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.