fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template<int SIZE>
  5. struct MyClass{
  6. MyClass(int a, int b){}
  7. };
  8.  
  9. class X{
  10. MyClass<10> mcTen;
  11. X() : mcTen(1, 5) {
  12. }
  13. };
  14.  
  15. int main() {
  16. // your code goes here
  17. return 0;
  18. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty