fork(1) download
  1. #include <iostream>
  2.  
  3. template<typename... Ts>
  4. void expander(Ts&&... ts)
  5. {
  6. int dummy[sizeof...(Ts)] = {(std::forward<Ts>(ts)(), 0)...};
  7. }
  8. void f()
  9. {
  10. std::cout << __PRETTY_FUNCTION__ << std::endl;
  11. }
  12. int main()
  13. {
  14. expander(f, f, f);
  15. expander();
  16. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
void f()
void f()
void f()