fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template <typename T>
  5. struct Struct {
  6. Struct(const T & value) : value(value) {}
  7. T value;
  8. };
  9.  
  10. int main() {
  11.  
  12. Struct<int> T(1);
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty