I'm wondering if there is or will be a way in C++ which allows to typedef a template template argument similar to typedef a template argument.
The only way i know of at the moment is using an alias template
template<template<typename> typename T>
struct S {
template <typename U>
using TT = T<U>;
};
but that seems too repetitive.
Is there something like
typedef T TT;
or
typename T TT;
to achieve the same?
If not, would it even make sense or am i missing something obvious?
EDIT:
Since this has been marked as possible duplicate i'm trying to rephrase what i'm after.
A typedef creates an alias for one complete type.
An alias template creates an alias for a family of types.
I'm wondering if there is or will be something that creates an alias to a incomplete thing like a template template parameter.
The duplicate question does neither answer whether there is or will be an alternative to the alias template nor if or if not such an alternative would make sense.