Make some simple C++ code much more complicated.
As a bonus, add noexcept specifications to all the 'diamond functors'
Details
Details
- Reviewers
EricWF
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Why not just use decltype(auto)? Also these functions not SFINAE instead of being a hard compile error when they are not well formed. is that intended?
Comment Actions
Should have read the bug report. I'll look into the SFINAE before I'm convinced that libstdc++ is correct. Do you have a strong opinion in this?
Comment Actions
I'm convinced that our implementation is not correct (does not match what's in the standard, and the difference is detectible).
I have no opinion about libstdc++'s implementation.
include/functional | ||
---|---|---|
525 | This is an inadvertent change. |
This is an inadvertent change.