C++17

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
Add CommentViews: 287

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
Comments 1Views: 823

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 today more details. The details are mainly about inline variables, templates, automatic type deduction with auto, and attributes.

Read more
Tags: C++17
Add CommentViews: 2700

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
Comments 2Views: 4377

C++17 - What's New in the Core Language?

C++11, C++14, and C++17. I guess, you see the pattern.  Later in this year, we will get a new C++ standard. In march 2017, the C++17 specification reached the Draft International Standard stage. Before I dive into the details, I will give you an overview of C++17.

Read more
Tags: C++17
Add CommentViews: 13359

Parallel Algorithm of the Standard Template Library

The idea is quite simple. The Standard Template 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
Comments 1Views: 7052

Multithreading with C++17 and C++20

Forecasts about the future are difficult. In particular, when they are about C++20. Nevertheless, I will take a look into the crystal ball and will write in the next posts about, what we will get with C++17  and we can hope for with C++20.

Read more
Tags: C++20, C++17
Comments 1Views: 10536

My Newest E-Book

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 424

All 252655

Currently are 199 guests and no members online