refactor: xo-gc: + GCObjectVisitor.generation_of()

Concession to narrow MutationLogStore to only use GCObjectVisitor
instead of assuming X1Collector.
This commit is contained in:
Roland Conybeare 2026-04-06 23:18:45 -04:00
commit b794f225b2
6 changed files with 36 additions and 7 deletions

View file

@ -16,7 +16,8 @@ namespace xo {
/** @class generation
* @brief type-safe generation number
**/
struct Generation {
class Generation {
public:
using value_type = std::uint32_t;
constexpr Generation() = default;