4 ms·
My C++ readability changelist contained a template. I don't think this part of the style guide is what you thought it was.
by jeffbee 5y ago
My C++ readability changelist contained a template. I don't think this part of the style guide is what you thought it was.
- rpangrle 5y agoI'm a current Googler with C++ readability and I can confirm, you're absolutely allowed to write templates in "leaf node" projects and it's encouraged, especially in cases where templated code reduces error-prone boiler plate. Heck, there are whole Grow classes dedicated around learning how to use variadic templates.