Skip to content

Instantly share code, notes, and snippets.

@mattkretz
Created July 23, 2015 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattkretz/c2295351eed96ade5a53 to your computer and use it in GitHub Desktop.
Save mattkretz/c2295351eed96ade5a53 to your computer and use it in GitHub Desktop.
template <typename... Ts> struct A
{
template <typename U, template <typename, typename, U> class C, U value>
using B = C<Ts..., value>;
};
@mattkretz
Copy link
Author

This code fails to compile with ICC 15:

test.cpp(4): error: constant "value" is not a type name
    using B = C<Ts..., value>;
                       ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment