jam 0.0.1
A compacting generational garbage collector for C++26
Loading...
Searching...
No Matches
jam::traceable Concept Referenceexport
Word heap | module jam

T supports tracing after it is complete.Ordinary trace return types are unrestricted; collection uses their effects. A void claim_and_trace(heap::visitor &) const noexcept member takes priority for allocation tracing and may be virtual. Its override must claim the exact complete object before declaring fields or following targets. More...

Concept definition

template<class T>
concept traceable = detail::traceable_in<T, heap>
T supports tracing after it is complete.Ordinary trace return types are unrestricted; collection uses...
Definition heap.ccm:557

Detailed Description

T supports tracing after it is complete.

Ordinary trace return types are unrestricted; collection uses their effects. A void claim_and_trace(heap::visitor &) const noexcept member takes priority for allocation tracing and may be virtual. Its override must claim the exact complete object before declaring fields or following targets.

Definition at line 557 of file heap.ccm.