Herb Sutter reports that the ballot closed on Friday.
From the announcement:
We will perform some final editorial tweaks, on the order of fixing a few spelling typos and accidentally dropped words, and then transmit the document to ISO for publication this year as the brand new International Standard ISO/IEC 14882:2014(E) Programming Language C++, a.k.a. C++14."
(Score: 3, Interesting) by nukkel on Tuesday August 19 2014, @05:28AM
C++, now with even more paradigms piled half-baked on top!
Is it procedural? Yes, but you really shouldn't.
Is it object-oriented? Only at compile time.
Is it a functional language? The preprocessor is.
What was missing? Oh, I know! Let's add an awkward closure syntax! Let's try to simulate weakly typed languages using the auto keyword!
(Score: 2, Informative) by Refugee from beyond on Tuesday August 19 2014, @07:00AM
What auto keyword has to do with weak typing? Auto variable doesn't change type in runtime.
Instantly better soylentnews: replace background on article and comment titles with #973131.
(Score: 0) by Anonymous Coward on Tuesday August 19 2014, @09:39AM
Well, some people obviously think just because they don't write down the type themselves, it isn't there.
BTW, I wonder if with the return type inference for lambdas with several returns, they allow for the same type inference as they allow for ?: since I think it would be frustrating if you'd do
and the compiler complains, while
compiles fine. Note that while in this specific case, the ?: is just as readable, in more complex situations it may not be.
(Score: 1) by tkd-physics on Wednesday August 20 2014, @03:10PM
Sarcasm fail.
Procedural? Yes, and you really should. Only the undereducated think OO is the only right way. Actually, only the undereducated think *any specific technique* is the only right way.
Object oriented only at compile time? Incorrect, OO is just about the only thing C++ can't do at compile time.
Functional? The preprocessor should be used as little as possible, but most compile time programming is functional. (Well, *all* of it with template metaprogramming, I'm not yet sure how the new constexpr stuff will work out.)
Awkward closure syntax? Weird, not awkward, a year from now nobody will notice. (The variable declaration syntax is awkward, but that was inherited from C, and everybody is used to that by now.) As I understand it, C++ lambda syntax is just about the only way they could make it work without breaking backwards compatibility. Or do you have a better way they could have done it?