template<typename BuilderState, RebuilderType Rebuilder>
struct mundy::search::ManagedNeighborList< BuilderState, Rebuilder >::UpdateResult
Implicitly converts to const list_type& so existing call sites that bind the result to a reference compile unchanged (so long as the call site isn't templated). Contextual bool conversion is true when the list waw rebuilt during this call, false when the cached copy was returned as-is:
const auto& nl = managed.update(bulk, targets, sources);
if (managed.update(bulk, targets, sources)) { rehash_bins(); }
auto result = managed.update(bulk, targets, sources);
use(result);
if (result) { ... }