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

There are generics and dependent types. But these are still gaining features and not nearly as powerful as templates and SFINAE. (but way easier to understand)

Macros are an option but don't have access to the same type information so often they solve different problems.



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

Search: