O
Size: a a a
O
S
S
O
SH
SH
К
friend std::ostream& operator<<(std::ostream& out, const binary_tree<T>& tree) {
if (&tree != nullptr) {
operator<<(out, *tree.m_left.get());
out << tree.m_data << std::ends;
operator<<(out, *tree.m_right.get());
return out;
}
else return out;
}
T
friend std::ostream& operator<<(std::ostream& out, const binary_tree<T>& tree) {
if (&tree != nullptr) {
operator<<(out, *tree.m_left.get());
out << tree.m_data << std::ends;
operator<<(out, *tree.m_right.get());
return out;
}
else return out;
}
К
SH
К
SH
К
SH
SH
SH
🎄T
friend std::ostream& operator<<(std::ostream& out, const binary_tree<T>& tree) {
if (&tree != nullptr) {
operator<<(out, *tree.m_left.get());
out << tree.m_data << std::ends;
operator<<(out, *tree.m_right.get());
return out;
}
else return out;
}
🎄T
К