-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement P3016R6 Resolve Inconsistencies In begin/end For valarray And Braced Initializer Lists
#5847
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
base: main
Are you sure you want to change the base?
Conversation
|
@microsoft-github-policy-service agree |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Only check that begin(initializer_list) is constexpr in C++17 onwards (tests/Dev11_1074023_constexpr). Mark libc++ std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp as known FAIL.
This comment was marked as outdated.
This comment was marked as outdated.
begin/end For valarray And Braced Initializer Lists
|
Hi, just FYI this PR is somewhat blocking a new test I am writing for requirements stated in [iterator.range]/1 (motivated by implementation of LWG-3987). Since it is motivated by |
`make_signed_t` requires non-bool integral/enum types, so the `static_cast` can't possibly throw.
tests/std/tests/VSO_0157762_feature_test_macros/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
|
Thanks! I pushed some changes, notably to remove "strengthened" |
Remove free function overloads of
beginandendforinitializer_list.Replace free function overloads
emptyanddataforinitializer_listwith member functions.Replace free function overloads
beginandendforvalarraywith member functions.Provide new feature test macros
__cpp_lib_initializer_listand__cpp_lib_valarray.Resolves #5840