Use public interface of Boost.Iterator