Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Rename params in transform_reduce functions #1480

Closed

Conversation

SergeyKopienko
Copy link
Contributor

@SergeyKopienko SergeyKopienko commented Apr 5, 2024

The goal of this PR - rename template params and function params of transform_reduce staff to be closer to https://en.cppreference.com/w/cpp/algorithm/transform_reduce template param type names and add semantic info to template param names and function parameter names.

Examples:

template parameter names

_BinaryOperation -> _BinaryReduceOp
_BinaryOperation1 -> _BinaryReduceOp
_BinaryOperation2 -> _BinaryTransformOp
_UnaryOperation -> _UnaryTransformOp

function parameter names

__binary_op -> __reduce_op
__binary_op1 -> __reduce_op
__binary_op2 -> __reduce_op
__unary_op -> __transform_op

@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/rename_transform_reduce_params branch 3 times, most recently from 7b05caa to b9d0724 Compare April 5, 2024 14:24
@SergeyKopienko SergeyKopienko marked this pull request as ready for review April 5, 2024 14:51
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/rename_transform_reduce_params branch 8 times, most recently from 28c6e5b to ec45680 Compare April 16, 2024 15:04
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/rename_transform_reduce_params branch 2 times, most recently from ede8408 to 6765825 Compare April 18, 2024 08:24
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/rename_transform_reduce_params branch from 6765825 to 9b1b122 Compare April 23, 2024 12:23
@SergeyKopienko SergeyKopienko deleted the dev/skopienko/rename_transform_reduce_params branch May 7, 2024 14:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant