| 429 | |
| 430 | struct ConditionalConcat { |
| 431 | static inline void operation(string_t& a, bool& b, string_t& c, string_t& result, |
| 432 | ValueVector& resultVector) { |
| 433 | // Concat a,c if b is true, otherwise concat c,a. |
| 434 | if (b) { |
| 435 | concat(a, c, result, resultVector); |
| 436 | } else { |
| 437 | concat(c, a, result, resultVector); |
| 438 | } |
| 439 | } |
| 440 | }; |
| 441 | |
| 442 | static void conditionalConcat(const std::vector<std::shared_ptr<common::ValueVector>>& parameters, |