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.
I have prepared the pdf bundle. To get it is quite simple.
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.
The winners of the next pdf bundles are.
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.
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.
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.
Currently are 182 guests and no members online