-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate variadic templates to decrease code size #9
Comments
I agree that with C++11 much ugliness could be removed. Just being able to use "auto" for types would probably cut the code in half... ;-) Two points, however:
|
I agree, moving to variadic templates is low priority at this point. And a On Tue, Jan 19, 2016 at 1:08 PM, lutorm [email protected] wrote:
|
This PR (#117) demonstrates case when variadic templates may be helpful for a checking function arguments in compile time. For example:
For |
Peter Boyle wrote:
Just a small comment — I’m working on a distributed MPP cartesian grid code.
github.com/paboyle/Grid
Certainly not pitching it as it is niche, focussed on particle physics, but I found C++11 does enable MUCH smaller more
compact expression template engines ~ 250 LOC. Something I learned from Antonin Portelli, CC’d. The corresponding C++98
US QDP++ package was more like 100k LOC using PETE.
So I agree that there is VERY much scope for a rewrite/update using features that were not originally available.
The text was updated successfully, but these errors were encountered: