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 DifferenceType = CharCount,
|
||||||
typename InvalidPolicy = utf8::InvalidPolicy::Pass>
|
typename InvalidPolicy = utf8::InvalidPolicy::Pass>
|
||||||
class iterator : public std::iterator<std::bidirectional_iterator_tag,
|
class iterator : public std::iterator<std::bidirectional_iterator_tag,
|
||||||
CodepointType, DifferenceType>
|
CodepointType, DifferenceType,
|
||||||
|
CodepointType*, CodepointType>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
iterator() = default;
|
iterator() = default;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user