c++ - Can we introuduce aliases for template specializations? -


can introduce alias partial specialization? mean that:

template <class t, class v> class a{ };  typedef template <class t> a<t, int> mypartialspecializa<t>;   int main(){ } 

demo

but doesn't work. standard that?

you need alias template this

template <class t, class v> class a{ };  template <class t> using mypartialspecializa = a<t, int>;   int main() {    mypartialspecializa<double> a; } 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -