Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It also works without templates:

    auto add(int a, int b){
      return a + b;
    }
But yes there's usually less reason to do it for a normal function.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: