We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This iterator stuff looks useful, thanks. I was trying to use it with tinystl ( https://github.com/bkaradzic/bx/tree/master/include/tinystl) and ran into an issue:
iterator.h:91:54: Member reference base type 'int *' is not a structure or union
I have replaced: using ValueRef = decltype(std::declval().operator()); with using ValueRef = decltype(*std::declval());
And everything seems to work fine now.
The text was updated successfully, but these errors were encountered:
Thanks for the fix, it is now applied
Sorry, something went wrong.
thanks
No branches or pull requests
This iterator stuff looks useful, thanks.
I was trying to use it with tinystl ( https://github.com/bkaradzic/bx/tree/master/include/tinystl) and ran into an issue:
iterator.h:91:54: Member reference base type 'int *' is not a structure or union
I have replaced:
using ValueRef = decltype(std::declval().operator());
with
using ValueRef = decltype(*std::declval());
And everything seems to work fine now.
The text was updated successfully, but these errors were encountered: