C++ User Group Sofia first year

A nice round up on the first year of the C++ User Group in Sofia:

C++ User Group Sofia first year

by Dimitar Mirchev

From the article

Some time in November 2015 we decided that it is a shame that we do not have a C++ User Group in Sofia, Bulgaria, and we decided that instead of waiting to just make it. This is a retro and an overview of what happened in our first year. I hope you find it helpful and inspirational.

CppCast Episode 90: Trompeloeil Mocking Framework

Episode 90 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Björn Fahller to talk about the trompeloeil Mocking Framework for Modern C++ Unit Testing.

CppCast Episode 90: Trompeloeil Mocking Framework

by Rob Irving and Jason Turner

About the interviewee:

Björn Fahller is a senior developer at Net Insight, and has been developing software for a living since 1994, mostly embedded programming for communications devices. Björn learned C++ from usenet and the ARM (Annotated Reference Manual) which was the standard before there was a standard. On a hobby basis, Björn likes to find silly solutions to non-problems and to explore effects of programming constructs.

Outside of programming, Björn is a member of a small group thet brews beer together, and is also a member of a volunteer organization of aviators who help with things like search and rescue operations, forest fire monitoring, and storm damage assessment.

HTML Text Editor - final solution

A quick post on the current - and final - solution to use TinyMCE3 with Qt:

HTML Text Editor - final solution

by Jens Weller

From the article:

In the last post about my HTML Text Editor, I mentioned that while the editor worked like it should, other things didn't. I was able to fix at least some of the driver related issues, but kept seeing random crashes. So I decided to try out a different solution, instead of going on a long and tiring debugging trip.

The C++17 Lands—Elena Sagalaeva and Vladimir Gorshunin

cpp17lands-snip.PNGA classic, newly updated for C++17:

The C++17 Lands

From the article:

The C++17 map is here and it feels like a new map. That's because it's new.

The previous one was made 5 years ago and it looks ancient now. So here is the new one, which is up-to-date with the most recent Holy Standard changes...

Learn C++ Concepts with Visual Studio and the WSL—Andrew Pardoe

Now you can learn Concepts TS in Visual Studio 2017 by targeting the Windows Subsystem for Linux (WSL):

Learn C++ Concepts with Visual Studio and the WSL

by Andrew Pardoe

From the article:

Concepts enable adding requirements to a set of template parameters, essentially creating a kind of interface. The C++ community has been waiting years for this feature to make it into the standard...

Who Owns Who? (Inverting the PathEngine ownership graph)—Thomas Young

Blog post about API design for objects with dependencies and lifetime management:

Who owns who

by Thomas Young

About the article

A key take-away is that a simple reference counting strategy can be the ideal way to manage lifetimes for API objects, since, as the API designer we can choose to enforce a directed acyclic graph dependency structure.

Toggles in functions—Andrzej KrzemieĹ„ski

A bool or enum by any other name:

Toggles in functions

by Andrzej Krzemieński

From the article:

Have you ever seen a function call like this?

process(true, false);

We are processing something: this should be clear from the context. But what do these parameters mean? What is true and what is false? From the function call we will never figure it out. The code surely isn’t self explanatory.

We will have to stop, and take a look at the declaration, and it does give us a hint:
void process(bool withValidation,
             bool withNewEngine);

Apparently, the author of the function uses the two bools as toggles...