oneDPL
oneDPL copied to clipboard
[test] Remove extra overloads of `operator()` in tests
In this PR I propose to remove extra overloads of operator()
in tests:
- remove
enable_if<cond, ....>
beforeoperator()
in test; - remove
enable_if<!cond, ....>
in the text emptyoperator()
in test; - check required
cond
insideoperator()
byif constexpr
.
By this goal (is was proposed by @MikeDvorskiy in some of other review comments) we avoid a lot of empty code in tests.