| 225 | |
| 226 | template <class First, class ... TArgs> |
| 227 | IAggregateFunction * create(const IDataType & second_type, TArgs && ... args) |
| 228 | { |
| 229 | const WhichDataType which(second_type); |
| 230 | |
| 231 | #define LINE(Type) \ |
| 232 | case TypeIndex::Type: return new AggregateFunctionAvgWeighted<First, Type>(std::forward<TArgs>(args)...) |
| 233 | AT_SWITCH(LINE) |
| 234 | #undef LINE |
| 235 | } |
| 236 | |
| 237 | // Not using helper functions because there are no templates for binary decimal/numeric function. |
| 238 | template <class... TArgs> |
no outgoing calls
no test coverage detected