8 Replies - 7905 Views - Last Post: 16 August 2011 - 10:58 AM Rate Topic: -----

#1 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9199
  • View blog
  • Posts: 34,568
  • Joined: 12-June 08

[link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 21 June 2011 - 07:15 AM

http://www.softwareq...ou-should-care/


Quote

It’s been 13 years since the first iteration of the C++ language. Danny Kalev, a former member of the C++ standards committee, explains how the programming language has been improved and how it can help you write better code.


I wonder if my turbo c++ IDE will allow me to upgrade? ;)

Is This A Good Question/Topic? 4
  • +

Replies To: [link] The Biggest Changes in C++11 (and Why You Should Care)

#2 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 21 June 2011 - 10:53 AM

i can't wait until C++11 is the defacto standard to use in compilers, GCC 4.6 has most of it down so far but not everything.
Was This Post Helpful? 0
  • +
  • -

#3 DivideByZero  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 238
  • View blog
  • Posts: 551
  • Joined: 02-December 10

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 03 August 2011 - 04:42 AM

Wow, there are a surprising amount of really useful features there :o

I think I'll stop neglecting C++ once all IDE support this new C++11 fully.
Was This Post Helpful? 1
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9199
  • View blog
  • Posts: 34,568
  • Joined: 12-June 08

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 03 August 2011 - 06:32 AM

Any particular features you would like to highlight that will be of use to you?
Was This Post Helpful? 0
  • +
  • -

#5 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 03 August 2011 - 09:03 AM

I personally am most excited about:

rvalue references - because they are a huge boon for the language and will make a lot of already fast code faster.

variadic templates - I like meta-programming (as a hobby) and this is a big feature enhancement that will vastly simplify a lot of code that was used as a "work around" for the lack of variadic templates.

constexpr - again to meta-programming. This will allow for a great deal of code simplification.
Was This Post Helpful? 1
  • +
  • -

#6 DivideByZero  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 238
  • View blog
  • Posts: 551
  • Joined: 02-December 10

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 03 August 2011 - 12:52 PM

The auto stuff and being able to delete the copy methods are very useful.
nullptr is a nice touch and finally lambda expressions!
The other features are nice too, but I don't think I'd use them as much as the ones I pointed out.
Was This Post Helpful? 1
  • +
  • -

#7 Ricky65  Icon User is offline

  • D.I.C Head

Reputation: 38
  • View blog
  • Posts: 115
  • Joined: 03-June 10

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 10 August 2011 - 11:19 AM

Thanks for the link.

I always enjoyed reading Danny Kalev's articles when he used to write for devx.com.

On C++0x, I think it will be a success and should give C++ a boost in popularity, at least in the short term.

Overall I think the Standard Committee have done a commendable job.

I'm only really disappointed that they didn't standardize binary literals. For example:

int x = 0b10011;

It's currently only supported as a compiler extension for GCC and Digital Mars which is annoying as I mainly use MSVC which doesn't support them. It's really useful, especially if like me you code a lot at the bit level. The fact that Pyton, Ruby and the new Java have binary literals in this form makes this omission even more bizarre. I know they've added user defined literals but they're not quite as elegant.

Also, I don't think they were aggressive enough with new libraries (i.e. file system and networking is badly needed) but I guess we'll get them in TR2.
Was This Post Helpful? 0
  • +
  • -

#8 anonymouscodder  Icon User is offline

  • member icon

Reputation: 126
  • View blog
  • Posts: 710
  • Joined: 01-January 10

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 10 August 2011 - 11:32 AM

Rvalue references and move semantics.

All introduced changes are welcome, event the minor ones.
Was This Post Helpful? 0
  • +
  • -

#9 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9199
  • View blog
  • Posts: 34,568
  • Joined: 12-June 08

Re: [link] The Biggest Changes in C++11 (and Why You Should Care)

Posted 16 August 2011 - 10:58 AM

Woohoo! C++11 has been unanimously approved!

A more or less current list of enhancements.
https://secure.wikim...ty_enhancements

Now if I can only find a download link for the new libraries... ;)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1