Make utf8_iterator traits clear about it returning non-references

This commit is contained in:
Maxime Coste 2017-10-07 15:55:57 +08:00
parent e18836aea7
commit 80d2506c34

View File

@ -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;