[refactor]use clear concept to replace std::enable_if_t (#22801)
--------- Signed-off-by: flynn <fenglv15@mails.ucas.ac.cn>
This commit is contained in:
@ -182,7 +182,8 @@ private:
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename T, typename... Ts, std::enable_if_t<(sizeof...(Ts) > 0), int> = 0>
|
||||
template <typename T, typename... Ts>
|
||||
requires(sizeof...(Ts) > 0)
|
||||
static bool _execute_internal(ColumnArrayMutableData& dst, ColumnArrayExecutionDatas datas,
|
||||
std::vector<bool>& col_const, int start_row, int end_row) {
|
||||
return _execute_internal<T>(dst, datas, col_const, start_row, end_row) ||
|
||||
@ -190,4 +191,4 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace doris::vectorized
|
||||
} // namespace doris::vectorized
|
||||
|
||||
Reference in New Issue
Block a user