STL icon indicating copy to clipboard operation
STL copied to clipboard

P2447R6 Constructing `span<const T>` From `initializer_list<T>`

Open StephanTLavavej opened this issue 2 years ago • 1 comments

WG21-P2447R6 Constructing span<const T> From initializer_list<T> LWG-4293 span::subspan/first/last chooses wrong constructor when T is const-qualified bool

Feature-test macro:

#define __cpp_lib_span_initializer_list 202311L

This ctor should participate in STL Hardening (#5090) like the other span ctors.

Note: We're focused on implementing the remaining library-only features in C++23. Until that's done, we will NOT be accepting PRs for C++26 features.

StephanTLavavej avatar Nov 12 '23 22:11 StephanTLavavej

@StephanTLavavej I'd like to take on this if it's still available

lamarrr avatar Jan 13 '24 02:01 lamarrr