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

US249 22.07.3.1 Remove span::const_pointer/reference #245

Closed
wg21bot opened this issue Oct 24, 2019 · 5 comments
Closed

US249 22.07.3.1 Remove span::const_pointer/reference #245

wg21bot opened this issue Oct 24, 2019 · 5 comments
Labels
LWG Library rejected No consensus for a change.
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 24, 2019

Remove const_pointer and const_reference from span, as they are unused.

Proposed change:
using const_pointer = const element_type*;
using reference = element_type&;
using const_reference = const element_type&;

@wg21bot wg21bot changed the title US249 22.07.3.1 US249 22.07.3.1 Remove span::const_pointer/reference Oct 24, 2019
@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 24, 2019

Possibly related to PL247 #243.

@jensmaurer jensmaurer added the LEWG Library Evolution label Oct 25, 2019
@tituswinters
Copy link

LEWG in Belfast: Forward to LWG for C++20.

@tituswinters tituswinters added LWG Library and removed LEWG Library Evolution labels Nov 7, 2019
@jwakely
Copy link
Member

jwakely commented Nov 7, 2019

These were added by https://wg21.link/lwg3144

https://wg21.link/lwg3320 (aka PL247) removes const_iterator and const_reverse_iterator (along with cbegin, cend etc.)

@jwakely
Copy link
Member

jwakely commented Nov 7, 2019

Reviewed by LWG on Thursday afternoon in Belfast. No consensus for change.

@mclow mclow closed this as completed Nov 7, 2019
@jensmaurer
Copy link
Member

Rejected. There was no consensus to adopt this change.

@jensmaurer jensmaurer added the rejected No consensus for a change. label Nov 7, 2019
@jensmaurer jensmaurer added this to the CD C++20 milestone Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LWG Library rejected No consensus for a change.
Projects
None yet
Development

No branches or pull requests

5 participants