79438967

Date: 2025-02-14 09:58:33
Score: 1.5
Natty:
Report link

Answered in comments: putting entire lambda in parentheses solves the issue.

INSTANTIATE_TEST_SUITE_P(
    instance, suite, cases,
    ([](const testing::TestParamInfo<param>& info) {
        const auto [a, b] = info.param;
        return std::string(a) + "_to_" + std::to_string(b);
    })
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dominik Kaszewski