Disclaimer: this post is sort of a motivating post for students. Professional programmers may find it uninteresting or painful (especially if you code in C# or Java or JavaScript). C++ is the hardest…
Today we’ll look at the implementation of a data structure wl_list, it belongs to the wayland library and demonstrates a very clever use of the C preprocessor.