fork download
  1.  
  2. template<typename T>
  3. struct Outer
  4. {
  5. struct Inner;
  6.  
  7. auto f(Inner) -> void;
  8. };
  9.  
  10. template<>
  11. struct Outer<int>::Inner {};
  12.  
  13. template<>
  14. struct Outer<double>::Inner {};
  15.  
  16. template<class T>
  17. auto Outer<T>::f(Inner) -> void
  18. {
  19.  
  20. }
  21.  
  22. int main() {}
Success #stdin #stdout 0s 4412KB
stdin
Standard input is empty
stdout
Standard output is empty