xo-reflect: feat: capture dtor
This commit is contained in:
parent
1ddc3e6a62
commit
fc2b88da4b
7 changed files with 71 additions and 21 deletions
|
|
@ -80,11 +80,14 @@ namespace xo {
|
|||
return SelfTagger<StructT, have_to_self_tp>::self_tp(object);
|
||||
});
|
||||
|
||||
static detail::InvokerAux<StructT> s_final_invoker;
|
||||
|
||||
auto tdx = StructTdx::make(std::move(this->member_v_),
|
||||
have_to_self_tp,
|
||||
to_self_tp_fn);
|
||||
|
||||
this->td_->assign_tdextra(std::move(tdx));
|
||||
this->td_->assign_tdextra(&s_final_invoker,
|
||||
std::move(tdx));
|
||||
}
|
||||
} /*complete*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue