fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template<int N> struct skobki
  5. {
  6. enum{value=N};
  7. };
  8.  
  9. template<int N>
  10. void f(skobki<N>)
  11. {
  12. char arr[N];
  13. // ...
  14. }
  15.  
  16. int main()
  17. {
  18. f(skobki<20>());
  19. }
Success #stdin #stdout 0.02s 2676KB
stdin
Standard input is empty
stdout
Standard output is empty