-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
iter_value_t<I>
should always use direct-initialization
#4233
Conversation
iter_value_t<I>
should always use direct-initialization
tests/std/tests/GH_004109_iter_value_t_direct_initialization/env.lst
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: A. Jiang <[email protected]>
…iable) when returning an aggregate of empty structs".
This comment was marked as resolved.
This comment was marked as resolved.
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Show resolved
Hide resolved
tests/std/tests/GH_004109_iter_value_t_direct_initialization/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
Thanks for fixing this bug and adding a comprehensive test! I pushed a merge with |
Thanks for adding all the missing tests to my comprehensive test 😻 |
I gave this some more thought and pushed more changes after I got greedy 😹
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
I had to push an additional commit to work around a newly-discovered bug, VSO-1946395 " |
Thanks for fixing this bug and adding comprehensive test coverage! 🐞 🛠️ 😸 |
Fixes #4109
Based on @hewillk 's example https://godbolt.org/z/ThWf3Gra6 and Dev11_0253803_debug_pointer test