Make utf8_iterator traits clear about it returning non-references
This commit is contained in:
parent
e18836aea7
commit
80d2506c34
|
@ -18,7 +18,8 @@ template<typename BaseIt,
|
|||
typename DifferenceType = CharCount,
|
||||
typename InvalidPolicy = utf8::InvalidPolicy::Pass>
|
||||
class iterator : public std::iterator<std::bidirectional_iterator_tag,
|
||||
CodepointType, DifferenceType>
|
||||
CodepointType, DifferenceType,
|
||||
CodepointType*, CodepointType>
|
||||
{
|
||||
public:
|
||||
iterator() = default;
|
||||
|
|
Loading…
Reference in New Issue
Block a user