| 171 | template <typename KeyT, typename ScalarT, typename ValueT, typename IntT, size_t AllocatorBlockSize> |
| 172 | template <typename Function> |
| 173 | void SpatialHash2D<KeyT, ScalarT, ValueT, IntT, AllocatorBlockSize>::forEach(Rect const& rect, Function&& function) const { |
| 174 | return forEach(initializer_list<Rect>{rect}, forward<Function>(function)); |
| 175 | } |
| 176 | |
| 177 | template <typename KeyT, typename ScalarT, typename ValueT, typename IntT, size_t AllocatorBlockSize> |
| 178 | template <typename RectCollection, typename Function> |