Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Good course for old school C++ programmer moving to C++ 14

68 views
Skip to first unread message

malcolm.ar...@gmail.com

unread,
Jan 2, 2018, 10:59:47 AM1/2/18
to
Can anyone suggest a good course / resource for someone who used C++ a lot about ten years ago, and now wants to pick it back up, the "look and feel" of the language having changed substantially in the intervening period due to greater use of templates for generic programming, move semantics, lambdas, and the like?

guinne...@gmail.com

unread,
Jan 2, 2018, 1:28:17 PM1/2/18
to
On Tuesday, 2 January 2018 15:59:47 UTC, malcolm.ar...@gmail.com wrote:
> Can anyone suggest a good course / resource for someone who used C++ a lot about ten years ago, and now wants to pick it back up, the "look and feel" of the language having changed substantially in the intervening period due to greater use of templates for generic programming, move semantics, lambdas, and the like?

This helped me:

http://shop.oreilly.com/product/0636920033707.do

Chris Vine

unread,
Jan 2, 2018, 3:07:08 PM1/2/18
to
On 2 Jan 2018 16:30:44 GMT
r...@zedat.fu-berlin.de (Stefan Ram) wrote:
> malcolm.ar...@gmail.com writes:
> >Can anyone suggest a good course / resource for someone who
> >used C++ a lot about ten years ago, and now wants to pick it
> >back up, the "look and feel" of the language having changed
> >substantially in the intervening period due to greater use of
> >templates for generic programming
>
> Today, we sometimes can /replace/ the use of templates by
> more readable constexpr functions.

And for type computation (as opposed to constexpr value computation),
you can sometimes replace C++98-style templated structs containing
typedefs by decltype with the C++14 auto return type used with
(non-constexpr) template functions. When you call decltype on a
function application the function is not executed: only its return type
is deduced.

You can use decltype with function templates in C++14 to iterate over
and manipulate type lists at compile time, for example.

Excluding signature overloading, there are I suppose four kinds of
compile-time computation available to the user now in C++14: sizeof,
decltype, constexpr and templates. Of these, C++98 had only sizeof and
templates. Possibly there are more: I would need to think about that.

Jorgen Grahn

unread,
Jan 3, 2018, 5:41:07 AM1/3/18
to
Why not spell it out? Scott Meyers: "Effective Modern C++:
42 Specific Ways to Improve Your Use of C++11 and C++14".

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

Richard

unread,
Jan 5, 2018, 5:55:32 PM1/5/18
to
[Please do not mail me a copy of your followup]

malcolm.ar...@gmail.com spake the secret code
<566720c9-678d-4342...@googlegroups.com> thusly:
Maybe this video will be helpful?

CppCon 2017: Ingve Vormestrand
"Tools and Techniques To Stay Up-to-date With Modern C++"
<https://www.youtube.com/watch?v=xDEGpKJ62lI>
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

woodb...@gmail.com

unread,
Jan 5, 2018, 6:23:13 PM1/5/18
to
On Tuesday, January 2, 2018 at 9:59:47 AM UTC-6, malcolm.ar...@gmail.com wrote:
> Can anyone suggest a good course / resource for someone who used C++ a lot
> about ten years ago, and now wants to pick it back up,

I have an offer to help someone who is willing to use my software.
More info here: http://webEbenezer.net/about.html



Brian
Ebenezer Enterprises - Enjoying programming again.
http://webEbenezer.net


0 new messages