S
Size: a a a
S
tb
tb
К
friend std::ostream& operator<<(std::ostream& out, const binary_tree<T>& tree) {
if (tree) {
operator<<(out, tree.m_left.get());
out << tree.m_data;
operator<<(out, tree.m_right.get());
return out;
}
}
S
tb
🎄T
🎄T
tb
S
S
🎄T
tb
S
tb
S
🎄T
friend std::ostream& operator<<(std::ostream& out, const binary_tree<T>& tree) {
if (tree) {
operator<<(out, tree.m_left.get());
out << tree.m_data;
operator<<(out, tree.m_right.get());
return out;
}
}