fork download
    #include 
    #include  // for the demo only

    std::string concat(std::string const& a) {
      return a;
    }

    template 
    std::string concat(std::string const& a, std::string const& b, Items&&... args) {
      return concat(a + b, args...);
    }

    int main() {
      std::cout << concat("0", "1", "2", "3") << "\n";
    }
Success #stdin #stdout 0s 2964KB
stdin
Standard input is empty
stdout
0123