template <typename Iter, typename Conv>

class ConvertingIterator

Defined at line 1082 of file ../../third_party/icu/latest/source/common/unicode/locid.h

A generic Locale iterator implementation over Locale input iterators.

Calls the converter to convert each *begin to a const Locale

&

.

ICU 65

Public Methods

void ConvertingIterator<Iter, Conv> (Iter begin, Iter end, Conv converter)

Constructs an iterator from a begin/end range.

Each of the iterator parameter values must be an

input iterator whose value the converter converts to const Locale

&

.

Parameters

begin Start of range.
end Exclusive end of range.
converter Converter from *begin to const Locale & or compatible. ICU 65

Defined at line 1094 of file ../../third_party/icu/latest/source/common/unicode/locid.h

UBool hasNext ()

Returns

true if next() can be called again.

ICU 65

Defined at line 1101 of file ../../third_party/icu/latest/source/common/unicode/locid.h

const Locale & next ()

Returns

the next locale.

ICU 65

Defined at line 1107 of file ../../third_party/icu/latest/source/common/unicode/locid.h