Skip to content
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

Difference in behavior when concepts are enabled #59

Closed
hgkjshegfskef opened this issue Nov 10, 2022 · 1 comment
Closed

Difference in behavior when concepts are enabled #59

hgkjshegfskef opened this issue Nov 10, 2022 · 1 comment

Comments

@hgkjshegfskef
Copy link

Is it expected to have different behavior when using and not using concepts? Perhaps I just don't understand how to use the library well. In this example https://godbolt.org/z/W8bWEnoTr I explicitly request a mutable iterator, and rely on the library to provide operator->. The library provides an immutable version of operator-> when not using concepts. When using concepts, the code builds and works as expected. Any ideas?

@tzlaine
Copy link
Collaborator

tzlaine commented Nov 19, 2022

Thanks for reporting this! Sorry it took me so long to get back to you. I was at a C++ committee meeting, then I was super sick for a few days. Thanks especially for the single-file repro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants