fork download
  1. #include <initializer_list>
  2.  
  3. template <typename... Ts>
  4. void function(std::initializer_list<Ts> && ...args){
  5.  
  6. }
  7.  
  8. int main() {
  9. function({1,2,3}, {'h', 'w'}, {"hello", "aloha"});
  10. return 0;
  11. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty