Update the return type of threadCalculationTaskNum
Closed this issue · 0 comments
Kaiser-Yang commented
Returning a std::pair
is not the best option. For res.first
and res.second
is not readable, it may confuse the developers which one is calculation
and which one is taskNum
.