franaisa/Tree — Issue #6: Polymorphism is not working for iterators when return values are used
Author: franaisa
Created: 2012-03-01 17:31:48+00:00
State: open

If we try to do something like tree.erase(tree.preBegin()); it fails. It should work because, preBegin() returns a pre-order iterator and erase accepts any iterator derived from TreeIterator.