fork(2) download
  1. template<template<typename, typename> class T>
  2. struct Process
  3. {
  4. };
  5.  
  6. template<int Value>
  7. struct MakeTemplate
  8. {
  9. template<typename T, typename U>
  10. struct Template
  11. {
  12. };
  13. };
  14.  
  15. template<int Value>
  16. struct Combine : Process<template MakeTemplate<Value>::Template>
  17. {
  18. };
  19.  
  20. int main()
  21. {
  22. Combine<0>();
  23. }
Compilation error #stdin compilation error #stdout 0s 3336KB
stdin
Standard input is empty
compilation info
prog.cpp:16:64: error: template argument 1 is invalid
 struct Combine : Process<template MakeTemplate<Value>::Template>
                                                                ^
stdout
Standard output is empty