fork(2) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. template<size_t... E>
  5. constexpr size_t arr[] = {E...};
  6.  
  7. int main()
  8. {
  9. for(auto i : arr<42, 420, 4200>)
  10. std::cout << i << std::endl;
  11.  
  12. }
  13.  
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
42 420 4200