14 lines
140 B
C++
14 lines
140 B
C++
template <typename T>
|
|
struct X;
|
|
|
|
using Z = X<int>;
|
|
|
|
template <>
|
|
struct X<int> {
|
|
using type = int;
|
|
};
|
|
|
|
int main() {
|
|
Z::type x = 1;
|
|
}
|