News

C++ Weekly Episode 50: Inheriting Lambdas vs Generic Lambdas—Jason Turner

Episode 50 of C++ Weekly.

Inheriting Lambdas vs Generic Lambdas

by Jason Turner

About the show:

The last episode of C++ Weekly showed why and where we might want to inherit from lambdas and create a merged lambda with the signatures of two or more other lambdas. In this episode Jason compares a merged lambda with a generic lambda and what the pros and cons might be.

CppCast Episode 88: Microsoft's STL with Stephan T. Lavavej

Episode 88 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Stephan T. Lavavej to talk about Microsoft's STL and some of the changes to the Library coming in the VS 2017 release.

CppCast Episode 88: Microsoft's STL with Stephan T. Lavavej

by Rob Irving and Jason Turner

About the interviewee:

Stephan T. Lavavej is a Principal Software Engineer at Microsoft, maintaining Visual C++'s implementation of the C++ Standard Library since 2007. He also designed a couple of C++14 features: make_unique and the transparent operator functors. He likes his initials (which people can actually spell) and cats (although he doesn't own any).

Using QtCreator together with the Visual Studio Build Tools

A first posting about working with Qt and Visual C++ in QtCreator

Using QtCreator together with the Visual Studio Build Tools

by Jens Weller

From the article:

For a while I've been using QtCreator as my IDE, mostly because its deep integration with Qt, as most of my projects are Qt related. With this, I also preferred (and still do a little) to use the MinGW builds of Qt on Windows. In the past, as GCC was a little bit better with the newer standards, today, well, never change a running system...

Dependencies in the Gang of Four examples -- Zebedee Mason

Zebedee Mason discusses in his recent article some GOF idioms and analyzes them with his tool DeepsEnds.

Dependencies in the Gang of Four examples

by Zebedee Mason

From the article:

The example C++ code from the GoF (Gang of Four) book Design Patterns has had its dependencies analysed with DeepEnds. Certain examples have been refactored to remove circular dependencies enabled by pre-declaration of classes. These cycles in the graph serve to reduce the ability to subsequently modify the code with ease.

Fold Expressions--Rainer Grimm

Do you know how they work?

Fold Expressions

by Rainer Grimm

From the article:

With fold expressions you can implement the from Haskell known functions foldl, foldr, foldl1 and foldr1 directly in C++. These four functions successively reduce a list to a single value...

Un-Deprecate Your Qt Project--Giuseppe D'Angelo

Giuseppe D'Angelo explains how the Qt project deprecates APIs, a challenge every library project faces.

Un-Deprecate Your Qt Project

by Giuseppe D'Angelo

From the article:

Any product needs to evolve if it wants to remain competitive. If the development bandwidth is finite, from time to time there is the need to drop some ballast. This does not necessarily mean dropping working functionality and leaving users in the cold. At least in Qt most of the time this actually means replacing working functionality with better working functionality.

This process has being going on in Qt since forever, but since Qt 5.0 we’ve started to formalize it in terms of documentation hints and macros in the source code. This was done with a precise purpose: we wanted Qt users to discover if they were using deprecated APIs, and if so, let them know what better alternatives were available.

And since the very release of Qt 5.0.0 we’ve officially deprecated hundreds of APIs: a quick grep in QtBase alone reveals over 230 hits (mostly functions, but also entire classes).

Slides of the 24th of January 2017 BeCPP Meeting

BeCPP_Logo_282x64.pngOn 24th of January 2017, the Belgian C++ Users Group had their next event sponsored by Nikon Nobel Biocare.

Slides of the 24th of January 2017 BeCPP Meeting

There were two presentations:

  • "BeC++17 – Part II" (Peter Van Weert)
  • "Our Journey to C++" (Cosmin Cremarenco)

If you couldn’t attend the event in person, or if you would like to go over the material again, you can download them from the BeCPP website.

C++ User Group Meetings in February

The monthly overview on upcoming C++ User Group Meetings:

C++ User Group meetings in February

by Jens Weller

From the article:

The monthly overview on upcoming C++ User Group meetings. For February there are already 33 User Group meetings planned. Also in this month are emBO++ and C++ Russia!

There are 4 new C++ User Groups: Nashua, NH, Vienna (Qt), Austin (Mentoring & Study Group), Montréal.