-
Notifications
You must be signed in to change notification settings - Fork 112
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
Should expression templates be enabled by default as of 2024? #622
Comments
Yes this is a known feature. You raise a really good question.
The final, most obtrusive, option being one I'd preferably not engage on. I wonder what John thinks of this. We worked hard to get those big numbers. Your intuition might be right from today's perspective. Maybe one day down the road a compiler switch that actively enables legacy could do the trick to get I wonder what @jzmaddock thinks of such evolutions. I'm kind of a leave it alone and documetn it guy. |
+1 on leave it alone, rationale:
|
I've pinged Joel to see if there's any news on the issue (or an alternative fix in C++17/20/23). |
P0672 has been left out to die for various reason.
I have been not very active for health reasons but it get better since. So if you're interested, we can try to think about a proper solution. I have a bunch of other ideas that may fly further. The biggest opposition we may face (even if I think it is a bad argument) is that "reflection will fix that anyway". Which is obviously incorrect. As for language solution, I have now migrated to have constexpr only expression template so that issue happen less. We can also discuss this. |
I'm happy to discuss ideas, but I confess my interest in committee stuff is tiny these days (and I confess I'm out of date with the new language features post C++17).
I'd be interested in knowing how that works. |
Hi,
I just spent a couple of days hunting a bug that was caused by using "auto" with this library. I then found out that this is expected:
I wonder if it is a correct decision today, where "auto" is now very well established into the language, to ship a library that by default computes complete wrong results when using it with "auto".
The text was updated successfully, but these errors were encountered: