xo-reader2 xo-gc: streamline example + DX1Collector.ref() method
This commit is contained in:
parent
b056518e11
commit
8f09a6045e
1 changed files with 7 additions and 1 deletions
|
|
@ -175,10 +175,16 @@ namespace xo {
|
|||
/** Create X1 collector instance. **/
|
||||
explicit DX1Collector(const CollectorConfig & cfg);
|
||||
|
||||
/** faceted object pointer to this instance */
|
||||
template <typename AFacet = AAllocator>
|
||||
obj<AFacet,DX1Collector> ref() { return obj<AFacet,DX1Collector>(this); }
|
||||
|
||||
#ifdef NOT_YET
|
||||
/** create instance with default configuration,
|
||||
* generation size @p gen_z
|
||||
**/
|
||||
DX1Collector make_std(std::size_t gen_z);
|
||||
static DX1Collector make_std(std::size_t gen_z);
|
||||
#endif
|
||||
|
||||
std::string_view name() const { return config_.name_; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue