Re:C++14 lambda tutorial
by VMG on Thursday August 28, 2014 @10:02AM
(#8237213)
Backwards compatability. Old valid code should remain valid. That includes code which calculates wavelengths.
[ Parent
| on HN ]
An interesting example of C++ not being able to introduce new keywords is the co-opting of auto in C++11 from a storage class to type deduction.
But they had a decent justification: the auto keyword literally did nothing in C++. The only place it was valid, it was also the default.
Re:C++14 lambda tutorial
by danielweber on Thursday August 28, 2014 @01:20PM
(#8238468)
IIRC they audited a bunch of projects to see if anyone was using auto somewhere besides test code explicitly for the auto-keyword, and found nothing.