5 ms·
> here's the big one, individual teams were expressly forbidden from creating their own templates. What do you mean by this? General template code was forbidde
by gjulianm 5y ago
> here's the big one, individual teams were expressly forbidden from creating their own templates.
What do you mean by this? General template code was forbidden or just templated containers, STL style?
- db48x 5y agoMeans exactly what it says. You cannot create templated functions, classes, etc.
- gjulianm 5y agoThat seems extremely restrictive. I get being careful around heavy use of templates, and even more with containers where allocation/copies/moves can be really tricky; but there is a lot of space for using templates in a simple but useful way.
- pxx 5y agoThese are allowed. I have no idea where the parent post gets the idea that you can't ever write a template.