Function set_val_anchor

Synopsis

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

void set_val_anchor(size_t node, csubstr anchor)

Description

No description yet.

Source

Lines 692-692 in src/c4/yml/tree.hpp.

void set_val_anchor(size_t node, csubstr anchor) { RYML_ASSERT( ! is_val_ref(node)); _p(node)->m_val.anchor = anchor.triml('&'); _add_flags(node, VALANCH); }





Add Discussion as Guest

Log in