Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

Use helper function to_bool to replace function-style casts to bool. It's cleaner while still being more concise than a full static_cast.

Use helper function `to_bool` to replace function-style casts to `bool`. It's cleaner while still being more concise than a full `static_cast`.
@CaseyCarter CaseyCarter added the test Related to test code label Jun 16, 2020
@CaseyCarter CaseyCarter requested a review from a team as a code owner June 16, 2020 00:10
@StephanTLavavej StephanTLavavej merged commit 7c0310e into microsoft:master Jun 20, 2020
@StephanTLavavej
Copy link
Member

Thanks for cleaning up these functional-style casts! To celebrate, here are functional-style cats: 😸(😺)

@CaseyCarter CaseyCarter deleted the to_bool branch June 20, 2020 15:56
@CaseyCarter
Copy link
Contributor Author

Thanks for cleaning up these functional-style casts! To celebrate, here are functional-style cats: 😸(😺)

I think you've rediscovered Schrödinger's lambda calculus.

ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jun 25, 2020
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jun 26, 2020
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jun 29, 2020
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jul 1, 2020
CaseyCarter pushed a commit to CaseyCarter/STL that referenced this pull request Jul 10, 2020
added test_bidi to range_algo_support

removed fill code

Cleanup ranges test machinery (microsoft#899)

tests: Avoid dialog boxes, prevent stdout from being lost (microsoft#906)

Fixes microsoftGH-781 (dialogs) and fixes microsoftGH-789 (stdout).

updating tests with bidi_range wrapper

fixing tests

initial reverse algo

removed fill code

updating tests with bidi_range wrapper
CaseyCarter pushed a commit to CaseyCarter/STL that referenced this pull request Jul 10, 2020
added test_bidi to range_algo_support

removed fill code

Cleanup ranges test machinery (microsoft#899)

tests: Avoid dialog boxes, prevent stdout from being lost (microsoft#906)

Fixes microsoftGH-781 (dialogs) and fixes microsoftGH-789 (stdout).

updating tests with bidi_range wrapper

fixing tests

initial reverse algo

removed fill code

updating tests with bidi_range wrapper

Fix bad merge in range_algo_support
@StephanTLavavej StephanTLavavej added the ranges C++20/23 ranges label Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ranges C++20/23 ranges test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants