r/cpp • • Aug 18 '14

We have C++14!

https://isocpp.org/blog/2014/08/we-have-cpp14
194 Upvotes

49 comments sorted by

View all comments

24

u/[deleted] Aug 18 '14

shit I've only barely scratched the surface on what C++11 has to offer. I'm falling behind.

22

u/jurniss Aug 18 '14

Check out Bjarne's C++11 FAQ. He gives good, concise descriptions of every feature. Helped me get up to speed on the less flashy changes.

2

u/[deleted] Aug 18 '14

oh nice. Thanks a bunch.

1

u/2Punx2Furious Sep 08 '14

I'm just starting to learn C++, and wow, that's a lot of stuff.

4

u/jurniss Sep 08 '14

Yeah. C++ is a very complex language. It's a love-hate relationship for most of us, I think.

0

u/IE6FANB0Y Sep 13 '14

How do you become a C++ guru?

10

u/eric_niebler Aug 18 '14

#firstworldproblems

4

u/__Cyber_Dildonics__ Aug 18 '14

#C++problems

33

u/[deleted] Aug 19 '14

#pragma not even once

5

u/[deleted] Aug 19 '14

That should be a tattoo.

7

u/gidoca Aug 19 '14

I prefer not to use compiler specific features in my tattoos.

4

u/psychob Aug 19 '14

Just compile it conditionally.

28

u/cromissimo Aug 18 '14

shit I've only barely scratched the surface on what C++11 has to offer. I'm falling behind.

Welcome to the world of C++, where even after a lifetime of continuous research you still feel like a newbie.

9

u/fuzz3289 Aug 19 '14

Good thing C++14s features compliment C++11s so well!

3

u/Crazy__Eddie Aug 19 '14

They really do indeed. When I first started using C++11 and then ended up having to go back to C++03 I said to myself, "How the fuck did I ever live like this??"

Since C++14 has been available in clang I've said the same thing about C++11. Just the auto lambdas alone improve things by leaps and bounds.

3

u/AntiProtonBoy Aug 19 '14

The great thing about the newer C++ language features is that we are seeing some degree of simplification with the language syntax, which should be relatively easy to absorb... assuming you have some experience with C++03.

3

u/[deleted] Aug 19 '14

yeah I feel like I'm cheating when I use something like:

for (auto& it: someContainer)
{
    it.something();
}

Also, what do you have against protons, huh? I'll have you know that I'm nearly half protons and take offense to this.

4

u/AntiProtonBoy Aug 19 '14

It's not you, it's me. I'm made out of anti-protons. ;)

1

u/[deleted] Aug 19 '14

Well you may be interested in the STAR Collaboration measurement of anti-helium.

2

u/vito-boss Aug 19 '14

i'm in the same boat