With transform iterator we would have to rewrite operator++ as it does not return the derived class. This led to a compilation bug when using connected_components.
With transform iterator we would have to rewrite operator++ as it does not return the derived class. This led to a compilation bug when using connected_components.