xo-gc: + X1CollectorConfig.with_name()

This commit is contained in:
Roland Conybeare 2026-02-15 13:15:11 -05:00
commit 01c63418fd
2 changed files with 14 additions and 15 deletions

View file

@ -17,7 +17,12 @@ namespace xo {
using size_type = std::size_t;
/** copy of this config,
* with @c arena_config_.size_ set to @p gen_z
* but with @ref name_ set to @p name
**/
X1CollectorConfig with_name(std::string name);
/** copy of this config,
* but with @c arena_config_.size_ set to @p gen_z
**/
X1CollectorConfig with_size(std::size_t gen_z);