| 157 | // ---- gc_node ---- |
| 158 | |
| 159 | gc_node::gc_node() { |
| 160 | gc_id = gc_root::gc_next_id.fetch_add(1, std::memory_order_relaxed); |
| 161 | gc_check_break(gc_id); |
| 162 | gc_root::gc_get_active_root()->gc_link(this); |
| 163 | } |
| 164 | |
| 165 | gc_node::gc_node ( const gc_node & ) { |
| 166 | // New node with new ID, linked to the active root. Does NOT copy list position. |
nothing calls this directly
no test coverage detected