basics

Quick Q; Recursive unordered_map

Quick A: there is no guarantee for a container to work with incomplete types.

Recently on SO:

Recursive unordered_map

STL containers are not required to work with incomplete types. If you don't mind extra indirection, then the workaround is std::map<int, std::unique_ptr<Node>>.

The voting on the talks for Meeting C++ 2020 begins!

The yearly voting for the program of the yearly Meeting C++ Conference has started!

The voting on the talks for Meeting C++ 2020 begins!

by Jens Weller

From the article:

With today, you can start to vote on all submitted talks for Meeting C++ 2020! As 2020 is a bit special, it is less talks, but also this years conference will only feature one track, the voting will give me guiding in which talks to choose from speakers with multiple talks, but also will help to see which other speakers might should make it to the conference. Unlike prior years the main track can't be the mostly consisting out of the most popular talks of the voting.

C++ Template: A Quick UpToDate Look(C++11/14/17/20)--Vishal Chovatiya

All you need to know;

C++ Template: A Quick UpToDate Look(C++11/14/17/20)

by Vishal Chovatiya

From the article:

I know, it’s been a while since the last time I published something newbies-friendly on my blog. The main reason is that most of my readers are either experienced devs or from C background having modest C++ encounter. But while programming in C++ you need a completely different mindset as both C & C++ belongs to different programming paradigm. And I always strive to show them a better way of doing things in C++. Anyway, I found the topic which is lengthy, reasonably complex(at least it was for me), newbies-friendly as well as energizing for experienced folks(if Modern C++ jargons, rules & features added) i.e. C++ Template.

I will start with a simple class/function template and as we move along, will increase the complexity. And also cover the advance topics like the variadic template, nested template, CRTP, template vs fold-expression, etc. But, yes! we would not take deeper dive otherwise this would become a book rather than an article.

Meeting C++ Blogroll now available as a weekly newsletter

Since more then 5 years the Meeting C++ Blogroll exists on meetingcpp.com, now its also available as a weekly newsletter!

Meeting C++ Blogroll now available as a weekly newsletter

by Jens Weller

From the article

You can now subscribe to the blogroll as a weekly newsletter, and receive every friday what has been posted on blogs and videos about C++ directly from Meeting C++ by email! If you already have an Meeting C++ Account, you can subscribe via the profile edit page.

Announcing Meeting C++ Trainings!

Meeting C++ Trainings - a site for online trainings launched on Monday:

Announcing the start of Meeting C++ Trainings

by Jens Weller

From the article:

Meeting C++ organizes now its own online trainings, learn C++ from the leading experts!

You can choose trainings from several trainers and participate in the training you need online. Both half day and full day trainings are available. Right now the listed trainings start by mid June and go into July, but soon also Trainings in August and September will be available. My goal is to offer 1-2 Trainings per trainer in one quarter...

Announcing Meeting C++ 2020!

Today I have the honor to give the kick-off for the official planning and participation in Meeting C++2020:

Announcing Meeting C++ 2020

by Jens Weller

From the article:

Meeting C++ returns with its 2020 conference edition! Like in the previous years, we'll be meeting in Berlin from the 12. - 14th November!

With the current situation of COVID-19, planning events for this year is difficult, though I have decided to go ahead and start the preparations for Meeting C++ 2020! I will keep you posted through out 2020 on the changes for this years conference!

shared_ptr - basics and internals with examples--Hitesh Kumar

Did you know it?

shared_ptr - basics and internals with examples

by Hitesh Kumar

From the article:

The C++11 std::shared_ptr<T> is a shared ownership smart pointer type. Several shared_ptr instances can share the management of an object's lifetime through a common control block. The managed object is deleted when the last owning shared_ptr is destroyed (or is made to point to another object). Memory management by shared_ptr is deterministic because the timing of a managed object's destruction is predictable and in the developer's control. Hence, std::shared_ptr brings deterministic automatic memory management to C++, without the overhead of garbage collection. Here is a basic example of shared_ptr...