Skip to content

如何将一颗树的sons转移到另一棵树上 #89

Answered by Yawningx
cccfiis asked this question in Q&A
Discussion options

You must be logged in to vote
for (auto&& it: $1 -> sons) {
  ptr -> addSon(std::move(it));
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cccfiis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants