March 2017

CppCast Episode 95: C++17 Kona Update with Patrice Roy

Episode 95 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Patrice Roy to discuss the state of C++17 after the recent ISO Standards meeting at Kona.

CppCast Episode 95: C++17 Kona Update with Patrice Roy

by Rob Irving and Jason Turner

About the interviewee:

Patrice Roy has been playing with C++, either professionally, for pleasure or (most of the time) both for over 20 years. After a few years doing R&D and working on military flight simulators, he moved on to academics and has been teaching computer science since 1998. Since 2005, he’s been involved more specifically in helping graduate students and professionals from the fields of real-time systems and game programming develop the skills they need to face today’s challenges. The rapid evolution of C++ in recent years has made his job even more enjoyable.

He’s been a participating member in the ISO C++ Standards Committee since late 2014 and has been involved with the ISO Programming Language Vulnerabilities since late 2015. He has five kids, and his wife ensures their house is home to a continuously changing number of cats, dogs and other animals.

Understanding Object Lifetime in C++ in Denver, April 20, 2017—Jason Turner

Join us for a 1 day course in Denver, CO, USA April 20, 2017

Understanding Object Lifetime in C++

by Jason Turner

About the training:

C++ has what very few other languages have: a well defined object life cycle. Understanding this key aspect of C++ is critical to writing clean, maintainable, and efficient C++.

Join us for an interactive one day workshop where we will describe the lifecycle of an object in C++ and work through increasingly complex examples. Come prepared for lots of group discussion. There will be something for C++ developers of all skill levels to learn.

You will leave the workshop with an increased knowledge of C++ that will help you to design better programs and libraries.

CLion 2017.1 released—Anastasia Kazakova

Welcome CLion 2017.1, new version of the cross-platform C/C++ IDE from JetBrains!

CLion 2017.1 released

by Anastasia Kazakova

From the article:

With the 2017.1 update CLion has learned a lot about C++14 and C++17. It improves your debugging experience with a disassembly view and unit testing with support for the Catch framework. In addition, Windows users are welcome to check out the new experimental support for Microsoft Visual C++ compiler.

The highlighted new features are:

  • Extended support for C++14 (in brief, all except constexpr are there!)
  • First step towards C++17 support (nested namespaces!)
  • First step to modernizing your C++ code: make auto intention
  • Support for precompiled headers and headers included via -include compile option
  • Disassembly view in debugger (GDB)
  • Support for the Catch unit test framework
  • Experimental support for Microsoft Visual C++ compiler
  • Find in Path in popup
  • Enhanced Log viewer and branches popup
  • Swift plugin: SourceKit inspections and ability to generate type from usage

C++Chat[16] The Great Template Metaprogramming Library Debate

CppChat:

CppChat[16]: The Great Template Metaprogramming Library Debate

with Chiel Douwes, Edouard Alligand, Eric Niebler, Joel Falcou, Louis Dionne, Odin Holmes, and Jon Kalb.

From the chat:

This was a special episode focusing on the path forward for Boost, the Standard Committee, and the C++ community in the area of template metaprogramming.

Variadic CRTP—Steve Dewhurst

Steve Dewhurst has published a new paper under his category Once Weakly:

Variadic CRTP

by Steve Dewhurst

From article:

One problem with [the] traditional application of CRTP is that it’s inflexible....  We can get [more] flexibility by specifying the CRTP capability as a template template parameter.

CppDepend v2017 Released!—CoderGears

We are happy to inform you that CppDepend v2017 has been released and is now available for download! CppDepend v2017 allows architects and developers to analyze C and C++ code base, automate code reviews, and facilitate refactoring and migration.

More Information about CppDepend v2017 new features!

by CoderGears

About the release

With CppDepend v2017 Save time, reduce costs and deliver high-quality code with these important updates:

  • Support: for Visual Studio 2017 RC.
  • Smart Technical Debt Estimation: CppDepend v2017 is the only VS extension that can tell the developer that, for example, since this morning the code just written has introduced debt that would cost about 30 minutes should it have to be repaid later. Knowing this, the developer can fix the code before even committing it to the source control.
  • Quality Gate: A Quality Gate is a check on a code quality fact that must be enforced before releasing and eventually, before committing to source control. Quality Gates for example can forbid issues with a certain severity introduced since the baseline, enforce particular code coverage by tests ratio on new and refactored code or enforce thresholds on any Technical Debt criteria.
  • Default Rules Set Improvements: All default rules have been revisited to smartly estimate the cost-to-fix and the severity of each issue and also to filter more false positives.
  • Dashboard Improvements: The dashboard now includes Technical Debt metrics, Quality Gates status and Issues facts. It allows drilling down any Technical Debt fact and filter issues through any criteria (new, severity, cost to fix...).
  • Enhanced Baseline Experience: Do you want to measure progress since this morning, last week or since the last release? Choose the baseline in a single click from the Dashboard and harness the updated results in just a few seconds.
  • Report Improvements: The CppDepend report now includes the new Dashboard and proposes Technical Debt and Quality Gates highlights.
  • Code Query Improvements: CppDepend Code Query LINQ (CQLinq) can now be used to live query the Technical Debt and the issues-set. Also, CQLinq now lets users write custom Quality Gates. With CQLinq, smart Technical Debt estimations are computed through custom formulas written in C#. Finally, a code query can now match code elements of various kinds (assemblies, namespace,s types, methods, fields) to obtain more informative results.

Download and enjoy the new version of CppDepend now by clicking here.

Trip report: Winter ISO C++ standards meeting (Kona)—Botond Ballo

waldo.PNGA new trip report from the just-concluded ISO C++ meeting:

Trip report: C++ standards meeting in Kona, February 2017

by Botond Ballo

From the article:

Conclusion

C++17 is effectively out the door, with its Draft International Standard sent out for ballot, and the official release expected later this year.

Development on C++20 is well under way, with numerous core language and library features already earmarked for it, and several Technical Specifications expected to be merged into it. A proposal for an overall vision for the release aims to focus the committee’s efforts on four headliner features – Concepts, Modules, Ranges, and Networking. That is, of course, not a guarantee these features will be in C++20 (nor is it intended to exclude other features!), but I believe with some luck and continued hard work we can make part of all of that plan a reality.

Modules, in particular, are expected to be a game-changer for C++...

ACCU 2017 One Month Away

The upcomming ACCU 2017 conferenc from 2017-04-26 to 2017-04-29 in Bristol, UK is only one month away.

ACCU 2017 Conference

by the conference committee

About the conference:

The this years ACCU conference has 5 tracks in parallel with a strong focus on C++.

Beside the closing keynote by Herb Sutter, we have 90 minutes sessions by Dietmar Kühl, Timur Doumler, Nicolai Josutis, Marshal Clow, Anastasia Kazakova, Louis Dione, Guy Davidson, John Lakos, Peter Sommerlad, Arne Metz, Hubert Matthews, J. Daniel GarciaSergei Sadovnikov, Björn Fahller, Steven Simpson, Diego Rodriguez-Losada, Dominic Robinson, Arjan van Leeuwen, Vittorio Romeo, Roger Orr, Anthony Williams, Phil Nash, and Odin Holmes.

On the day before the conference we have two full day tutorials with C++ content by Nicolai Josuttis and Felix Petriconi.

So don't forget to register

 

Trip report: Winter ISO C++ standards meeting (Kona)—Herb Sutter

A trip report from the just-concluded ISO C++ meeting:

Trip report: Winter ISO C++ standards meeting (Kona), C++17 is complete

by Herb Sutter

From the article:

C++17 is done!

The big news is that we completed C++17, which dominated the work of the meeting: C++17 is now technically finished and being sent out for its final ISO balloting. All that remains for C++17 now is some ISO red tape and minor touch-up to get it officially published, which is expected to be just mechanical...