C++17: Improved Associative Containers and Uniform Container Access

C++11 has eight associative containers. With C++17, you can more comfortably insert new elements into them, merge existing associative containers, or move elements from one container into another if they are similar. But that is not all. The access to the associative and sequential container was unified.

Read more
Tags: C++17
Views: 25014

C++17: New Parallel Algorithms of the Standard Template Library

The idea is quite simple. The Standard Template (STL) has more than 100 algorithms for searching, counting, and manipulation of ranges and their elements. With C++17, 69 of them are overloaded and a few new are added. The overloaded and new algorithm can be invoked with a so-called execution policy. By using the execution policy, you can specify whether the algorithm should run sequential, parallel, or parallel and vectorized.

Read more
Tags: C++17
Views: 58713

C++17 has a Visitor

What have std::optional, std::any, and std::variant in common? You can construct them in-place. But that is not everything. A std::variant supports a visitor.

Read more
Tags: C++17
Views: 47970

Get the Current Pdf Bundle: Concurrency with C++17 and C++20

I have prepared the pdf bundle. To get it is quite simple.

Read more
Views: 9446

C++17 - Avoid Copying with std::string_view

The purpose of std::string_view is to avoid copying data which is already owned  by someone else and of which only a non-mutating view is required. So, this post is mainly about performance.

Read more
Tags: C++17
Views: 179324

The Winners of the Next Pdf Bundles

The winners of the next pdf bundles are.

Read more
Views: 5447

C++17- std::byte and std::filesystem

My post C++17 - What's New in the Library was fine for the first overview. Today, I will look deeper into the new library. 

Read more
Views: 70157

Which pdf bundle should I provide?

Now, it's time to choose the next pdf bundle? You will get all posts, all source files, and a cmake file to the chosen topic.

Read more
Tags: C++17
Views: 5884

C++17- More Details about the Core Language

After I provided the big picture to the new C++17 core language in my post "C++17 - What's New in the Core Language", I will give you more details today. The details are mainly about inline variables, templates, automatic type deduction with auto, and attributes.

Read more
Tags: C++17
Views: 33562

C++17 - What's New in the Library?

What's new in the library? A lot. To make the long story short. We get a std::string_view, parallel algorithm of the Standard Template Library, a file system library, and the three new data types std::any, std::optional, and std::variant. Let's look at the details.

Read more
Tags: C++17
Views: 39908

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 1858

All 4199425

Currently are 232 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments