Prawie ostateczne ;)

Poprawić błąd w operator=
aghTree.h:218:2: error: comparison between distinct pointer types ‘aghTree<int>*’ and ‘std::ios_base& (*)(std::ios_base&)’ lacks a cast [-fpermissive]