xo-object2: obj<ACollector> argument to DArray::push_back()

This commit is contained in:
Roland Conybeare 2026-04-28 23:17:00 -04:00
commit a845bc17f3
5 changed files with 210 additions and 13 deletions

View file

@ -24,8 +24,20 @@ namespace xo {
**/
X1CollectorConfig with_name(std::string name);
/** copy of this config,
* but with @ref n_generation_ set to @p n_gen
**/
X1CollectorConfig with_n_gen(uint32_t n_gen);
/** copy of this config,
* but with @ref n_survive_ set to @p n_survive
**/
X1CollectorConfig with_n_survive(uint32_t n_survive);
/** copy of this config,
* but with @c arena_config_.size_ set to @p gen_z
*
* TODO: rename to with_halfspace_size()
**/
X1CollectorConfig with_size(std::size_t gen_z);