mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-18 11:14:22 +00:00
more typedefs for test FwdIter
This commit is contained in:
parent
035c2c1fba
commit
1a47b1f36d
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ template<typename Unit>
|
|||
class FwdIter {
|
||||
public:
|
||||
typedef Unit value_type;
|
||||
typedef Unit &reference;
|
||||
typedef Unit *pointer;
|
||||
typedef size_t difference_type;
|
||||
// https://en.cppreference.com/w/cpp/named_req/ForwardIterator#Multi-pass_guarantee
|
||||
typedef std::forward_iterator_tag iterator_category;
|
||||
|
||||
FwdIter(const Unit *data) : p(data) {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue