We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEMPLATE_TEST_CASE only supports substitution of simple types, and not template templates.
template <template <typename> typename T> struct Foo { }; TEMPLATE_TEST_CASE("instantiate a template template with int", "", Foo) { using T = TestType<int>; // ... or something }
The text was updated successfully, but these errors were encountered:
@porpoises in your example you probably wanted to do
template<typename T> struct Foo {};
in linked PR #1457 i added support for this kind of types. For this kind of tests you will have to use TEMPLATE_TEMPLATE_TEST_CASE.
TEMPLATE_TEMPLATE_TEST_CASE
Sorry, something went wrong.
Awesome, thanks!
Successfully merging a pull request may close this issue.
Description
TEMPLATE_TEST_CASE only supports substitution of simple types, and not template templates.
Steps to reproduce
The text was updated successfully, but these errors were encountered: