7.8.6 Initialization by Copying |
276. <TBST traverser copy initializer 276> = void *
tbst_t_copy (struct tbst_traverser *trav, const struct tbst_traverser *src)
{ assert (trav != NULL && src != NULL); trav->tbst_table = src->tbst_table; trav->tbst_node = src->tbst_node; return trav->tbst_node != NULL ? trav->tbst_node->tbst_data : NULL; }