Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #12546

Re: transitioning to modern C++

From Lynn McGuire <lmc@winsim.com>
Newsgroups comp.lang.c++
Subject Re: transitioning to modern C++
Date 2011-12-15 10:57 -0600
Organization A noiseless patient Spider
Message-ID <jcd8um$23e$1@dont-email.me> (permalink)
References <0e23a9d7-1692-45b5-895d-0e04ddfefffd@i6g2000vbe.googlegroups.com>

Show all headers | View raw


On 12/14/2011 11:34 AM, John Goche wrote:
>
> Hello,
>
> I have studied C++ in 2002, but it seems the language has undergone
> some changes
> in syntax and other additions since then. Could anyone please
> recommend
> a reference book which would facilitate the transition to a modern
> version of C++?
> I am looking for specific coverage of TR1 and threading which as I
> understand is now
> part of C++11. I am also interested in TR2 and boost, but specifically
> for the parts which
> are destined to become part of C++. I know some of the information can
> be found here
> http://en.wikipedia.org/wiki/C%2B%2B_Technical_Report_1 but I would
> like a more
> in depth coverage with all the nitty gritty details.
>
> Thanks for your recommendations,
>
> Trying to keep up with times,
>
> John Goche

Here are some notes about the C11 changes:
On 8/12/2011 5:15 PM, Niels Dekker - no reply address wrote:
 > http://herbsutter.com/2011/08/12/we-have-an-international-standard-c0x-is-unanimously-approved
 >
 > Kind regards, Niels

And Stroustrup likes it !
    http://www.softwarequalityconnection.com/2011/06/the-biggest-changes-in-c11-and-why-you-should-care/

"Bjarne Stroustrup, the creator of C++, said recently that C++11
“feels like a new language — the pieces just fit together better.”
Indeed, core C++11 has changed significantly. It now supports
lambda expressions, automatic type deduction of objects, uniform
initialization syntax, delegating constructors, deleted and
defaulted function declarations, nullptr, and most importantly,
rvalue references — a feature that augurs a paradigm shift in how
one conceives and handles objects. And that’s just a sample."

"The C++11 Standard Library was also revamped with new algorithms,
new container classes, atomic operations, type traits, regular
expressions, new smart pointers, async() facility, and of course
a multithreading library."

Congrats and Thanks !  Looks like Visual Studio 2010
already has a few of these:
    http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx

And gcc has several also:
    http://gcc.gnu.org/projects/cxx0x.html

I'm still mulling over nullptr.

Lynn

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

transitioning to modern C++ John Goche <johngoche99@googlemail.com> - 2011-12-14 09:34 -0800
  Re: transitioning to modern C++ Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-12-14 20:59 +0000
  Re: transitioning to modern C++ Ian Collins <ian-news@hotmail.com> - 2011-12-15 10:07 +1300
    Re: transitioning to modern C++ 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-14 13:52 -0800
      Re: transitioning to modern C++ Ian Collins <ian-news@hotmail.com> - 2011-12-15 10:57 +1300
        Re: transitioning to modern C++ 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-14 14:25 -0800
  Re: transitioning to modern C++ Lynn McGuire <lmc@winsim.com> - 2011-12-15 10:57 -0600

csiph-web