Hacker News new | past | comments | ask | show | jobs | submit login

Function overloading can be accomplished by name mangling at compile time.

  PROGRAMMER SEES        INTERNAL REPRESENTATION
  foo(int a, char b)     foo_int_char
  foo(int x)             foo_int



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

Search: