Variadic template aliases as template arguments (part 2)

前端 未结 2 727
难免孤独
难免孤独 2021-02-05 19:14

This is a follow-up of another question. It refers to the same problem (I hope) but uses an entirely different example to illustrate it. The reason is that in the previous examp

2条回答
  •  执念已碎
    2021-02-05 19:51

    I think the situation is pretty well standardized; C++11 14.3.3/1 says:

    A template-argument for a template template-parameter shall be the name of a class template or an alias template, expressed as id-expression.

提交回复
热议问题