TEST_F(ConstexprMathTest, constexpr_clamp_cast) { for_each_argument( [](auto dst) { for_each_argument( [&](auto src) { run_constexpr_clamp_cast_test(src, dst); }, // source types float(), double(), (long double)(0), int8_t(), uint8_t(), int16_t(), uint16_t(), int32_t(), uint32_t(), int64_t(), uint64_t()); }, // dst types int8_t(), uint8_t(), int16_t(), uint16_t(), int32_t(), uint32_t(), int64_t(), uint64_t()); }
int main() { // Prints "hello123". for_each_argument( [](const auto& x) { std::cout << x; }, "hello", 1, 2u, 3.f); std::cout << "\n"; return 0; }