refactor: + narrower interface for gc pointer forwarding
add AGCObjectVisitor, instead of requiring ACollector.
This commit is contained in:
parent
df0bbe1b31
commit
90ab86f69c
9 changed files with 115 additions and 13 deletions
|
|
@ -71,5 +71,26 @@
|
|||
attributes: [],
|
||||
},
|
||||
],
|
||||
router_facet_explicit_content: []
|
||||
router_facet_explicit_content: [
|
||||
"",
|
||||
"/** visit forward faceted object child pointer in place.",
|
||||
" Defined in RGCObject.hpp to avoid #include cycle",
|
||||
" **/",
|
||||
"template <typename DRepr>",
|
||||
"void visit_child(xo::facet::obj<AGCObject,DRepr> * p_obj);",
|
||||
"",
|
||||
"/** visit typed child data pointer in place.",
|
||||
" Defined in RGCObject.hpp to avoid #include cycle",
|
||||
" **/",
|
||||
"template <typename DRepr>",
|
||||
"void visit_child(DRepr ** pp_data);",
|
||||
"",
|
||||
"/** visit faceted object pointer stored using some facet",
|
||||
" other than AGCObject",
|
||||
" **/",
|
||||
"template <typename AFacet, typename DRepr>",
|
||||
"requires (!std::is_same_v<AFacet, AGCObject>)",
|
||||
"void visit_poly_child(obj<AFacet,DRepr> * p_pivot);",
|
||||
"",
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue