Function reorder

Synopsis

#include <src/c4/yml/tree.hpp>

void reorder()

Description

reorder the tree in memory so that all the nodes are stored in a linear sequence when visited in depth-first order. This will invalidate existing ids, since the node id is its position in the node array.

Source

Line 713 in src/c4/yml/tree.hpp.






Add Discussion as Guest

Log in