Function operator<<(std::ostream&, const Node&)

Function Documentation

std::ostream &operator<<(std::ostream &os, const Node &node)

Overloads the << operator to print the data in the Node struct.

Return
ostream
Parameters
  • os: ostream to which the printing is to be done
  • node: node who’s status is to be printed