重载"<<"运算符

1 ostream& operator <<(ostream &out, const node x)
2 {
3    out<<"……"<<endl;
4    return out;
5 }

 

posted @ 2016-02-26 13:52  dreamer123  阅读(187)  评论(0编辑  收藏  举报