-
Notifications
You must be signed in to change notification settings - Fork 9
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
Make CollectionContextHolder::set take and store const IndexT #1747
Labels
Comments
stmcgovern
added a commit
that referenced
this issue
Apr 27, 2022
stmcgovern
added a commit
that referenced
this issue
Apr 27, 2022
stmcgovern
added a commit
that referenced
this issue
Apr 27, 2022
stmcgovern
added a commit
that referenced
this issue
Apr 27, 2022
stmcgovern
added a commit
that referenced
this issue
Apr 28, 2022
stmcgovern
added a commit
that referenced
this issue
Apr 28, 2022
lifflander
added a commit
that referenced
this issue
Apr 28, 2022
…xtholderset-take-and-store-const-indext #1747: change const pointer to pointer to const IndexT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The function signature
static void set(IndexT* const set_idx, VirtualProxyType const& set_proxy)
puts theconst
in the not-so-helpful place, denoting a constant pointer, not a pointer to a constant value. The holder should be promising not to modify the thing to which it's been given a pointerThe text was updated successfully, but these errors were encountered: