Advice on using iterator_adapter