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

Such as? The basic property of overloading is it's open. Any closed set of overloads can be converted to a single function which does the same dispatch logic with ifs and type traits (it may not be very readable).


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

Search: