-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add casts to vector algorithms entry points #5471
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
Add casts to vector algorithms entry points #5471
Conversation
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Show resolved
Hide resolved
I was thinking whether the runtime test is needed at all, or compile-time would have been fine. Looks like the runtime test also checks the correctness of the unwrapped-to-non-pointer branches, which the main tests don't do, since most of them only use |
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/GH_005421_vector_algorithms_integer_class_type_iterator/test.cpp
Outdated
Show resolved
Hide resolved
Thanks! I fixed minor nitpicks and pushed a moderate simplification to the test. 😻 |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for adding these important |
Fixes #5421