Skip to content

TEMPLATE_TEST_CASE_SIG multiple typename parameters in a row #2680

@GTruf

Description

@GTruf

Why is it not possible to declare TEMPLATE_TEST_CASE_SIG with two typename parameters, as presented in the example below?

TEMPLATE_TEST_CASE_SIG("TemplateTestSig: arrays can be created from NTTP arguments", "[vector][template][nttp]",
    ((typename T, typename V), T, V), (int, double))
{
}

The error follows:

error: call of overloaded 'get_wrapper<int, double>()' is ambiguous
159 | TEMPLATE_TEST_CASE_SIG("TemplateTestSig: arrays can be created from NTTP arguments", "[vector][template][nttp]",
       | ^~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions