aboutsummaryrefslogtreecommitdiff
path: root/src/util/box_traverser.h
blob: d59d87178b4615db1c2c353e32f0f9e826214295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef LIFE_SRC_UTIL_BOX_TRAVERSER_
#define LIFE_SRC_UTIL_BOX_TRAVERSER_

#include <cstdint>
#include <functional>

#include "box_indicator.h"

namespace life {
namespace util {

struct BoxTraverser : public BoxIndicator {
	using BoxIndicator::BoxIndicator;

	void for_each(const std::function<void(std::size_t, std::size_t)>& f) const;
};

}
}

#endif  // LIFE_SRC_UTIL_BOX_TRAVERSER_