iterator_adaptor and operator-> for input iterators