support basic_string_iterator_t.