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

It's worth noting that in case of C#, it's really an implementation detail. It could just as well share all instantiations by boxing and adding a bunch of runtime checks - the language semantics wouldn't change because of it.

In C++, on the other hand, separate compilation of template for each instantiation is effectively part of language semantics, because it has numerous observable effects.



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

Search: