fork download
  1. #include <vector>
  2.  
  3. template<typename T>
  4. using vecAlias = std::vector<T>;
  5.  
  6. typedef vecAlias<int> vecInt;
  7.  
  8. int main() {
  9. vecAlias<double> v;
  10. vecInt v2;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout

Standard output is empty