oneDPL icon indicating copy to clipboard operation
oneDPL copied to clipboard

Rename params in transform_reduce functions

Open SergeyKopienko opened this issue 10 months ago • 0 comments

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 avatar Apr 05 '24 10:04 SergeyKopienko