-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utf8::unchecked::iterator should not derive from std::iterator #70
Comments
Thanks @totalgee I'm aware of this warning, and ignoring it for now, since the fix needs a bit of work! |
Actually, I can just comment out the inheritance from |
If necessary, you also could explicitly define the public:
using iterator_category = std::bidirectional_iterator_tag;
using value_type = uint32_t;
using difference_type = std::ptrdiff_t;
using pointer = uint32_t*;
using reference = uint32_t&; |
Describe the bug
When compiling on VS2019 (with C++17), there are warnings from the inheritance of
std::iterator
byutf8::unchecked::iterator
, with the following message:To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: