Partners: KDAB Whole Tomato Software

Hi there!

My name is Bartek, I'm a programmer from Cracow/Poland. This is my blog about C++ and native coding.

Quick jump links:

22 February 2019

C++ Links #20

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 16th and 22nd of February 2019.

This week you will find a link to a few interesting papers from the Kona ISO C++ Meeting, how to set bitmask using Designated Initializers and many more!

18 February 2019

Five Awesome C++ Papers For Kona 2019 ISO Meeting

Kona 2019 ISO C++ Meeting

I’m just in time (I hope)! In a few hours, a new C++ISO meeting will start! This time the committee gathered in Kona, Hawaii for their first meeting in 2019.

Let’s see what’s already in C++20 and let’s have a look at some smaller, but very handy proposals that might get into the standard.

16 February 2019

C++ Links #19

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 9th and 15th of February 2019.

In this week you will find a link to a great post about a technique that can help reduce compilation time, an article that explains how Smart Iterators are working and many more!

11 February 2019

2 Lines Of Code and 3 C++17 Features - The overload Pattern

the overload patter C++17

While I was doing research for my book and blog posts about C++17 several times I stumbled upon this pattern for visitation of std::variant:

template<class... Ts> struct overload : Ts... { using Ts::operator()...; };
template<class... Ts> overload(Ts...) -> overload<Ts...>;

std::variant<int, float> intFloat { 0.0f };
std::visit(overload(
    [](const int& i) { ... },
    [](const float& f) { ... },
  ),
  intFloat;
);

With the above pattern, you can provide separate lambdas “in-place” for visitation.

It’s just two lines of compact C++ code, but it packs a few interesting concepts.

Let’s see how this thing works and go through the three new C++17 features that enable this one by one.

08 February 2019

C++ Links #18

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 2nd and 8th of February 2019.

In this week you will find a link to interesting CMake features, a detailed description of the std::rotate algorithm and many more!

02 February 2019

C++ Links #17

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 26th of January and 1st of February 2019.

This week you will find a link to all 177 papers before next ISO C++ Meeting in Kona, link to an article that sums up the current state of C++ Modules and many more!

28 January 2019

std::filesystem in C++17 In Detail

C++17 In Detail

On Friday 18th January I’ve pushed another update for the book. This time I rewrote the whole chapter about std::filesystem. Please have a look at what changed and what are the plans.

The book got more than 25 new pages!

25 January 2019

C++ Links #16

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 19th and 25th of January 2019.

This week you will find a link to a ray-tracer, real-life examples of ranges, new useful features of Microsoft Visual Studio and many more!

21 January 2019

std:filesystem::file_size Advantages and Differences

Getting File Size in C++

Subtitle: Learning std::filesystem through file_size routines.

Last week I wrote a short post that explained how to use std::filesystem::file_size. Today I’d like to continue and show some significant differences that this new functionality has over the “older” techniques (like reading a file and getting its file position).

We’ll also learn something about permissions and how to manage them in std::filesystem.

19 January 2019

C++ Links #15

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 12th and 18th of January 2019.

In this week you may find the final answer how to get the size of the file, article describing few examples with Ranges and many more!

14 January 2019

How to get File Size in C++?

Getting File Size in C++

Before C++17 we could often complain that even simple tasks as getting a file size were complicated. With std::filesystem things get a bit easier!

12 January 2019

C++ Links #14

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 5th and 11th of January 2019.

This week you will link to post about over complicated initialisation of the variables, link to an article that checks which STL header it’s the longest being parsed and many more!

05 January 2019

C++ Links #13

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 29th December 2018 and 4th of January 2019.

We are back after a month break - we hope that we won't have such long breaks in the future.
The most important event from the last weeks is "Niebler Gate", long and controversial topic that started from Eric Niebler post. It relates to the state of C++, "debug-ability", entry level for learning C++, gamedev and more.

31 December 2018

C++ at the End of 2018

C++ Status at the end of 2017

2018 is almost over (just a few hours left in Poland till midnight). As in previous years, I did a summary of many things that happened in the C++ community. This year seems to be marked with a solid progress towards the standardisation of C++20, using more and more C++17 and as always the growth in the community.

Let’s have a look.

© 2017, Bartlomiej Filipek, Blogger platform
Any opinions expressed herein are in no way representative of those of my employers.
This site contains ads or referral links, which provide me with a commission. Thank you for your understanding.