C++14: Through the Looking Glass
“The time has come,” the ISO said, “To talk of many things: Of move-capture—and literals— Of making lambdas sing— And why deduction is so hot— And if digits should grow wings?”
So have you heard of the next C++ Standard? No, it is not C++11. Even though C++11 has just been ratified, C++14 will likely replace C++11 by next year. By now, we have enough experience with C++11 to know where we are missing various fingers and toes such as:
- Why do we not have move capture in lambdas?
- How about some real user-defined literal suffixes?
- Why did we stop with monomorphic lambdas?
- If lambda returns can be deduced, why not normal functions?
- Could we get digit separators?
C++14 will be more than a bug-fix release, and will contain some important enhancements on top of C++11. It will remove some of the major annoyances from C++11, that we already know of. But more importantly, how will this change the language, library and some important idioms?