Spoiler: this is a rant. 😂 I have tried to write a small side project in modern C++ recently. I wanted to have a proper setup with modern tooling and practices, in part because I wanted to see what the state of the art was for C++. So I settled on these tools: compiler: clang; build system: cmake; dependencies resolution: conan; unit test framework: I have adopted catch 2, because it looked quite simple; lsp: I have used clangd; linter: there seem to be multiple valid choices, but I have s...| Andrea Bergia's Website
C++| en.cppreference.com
Conceptually a Range is a simple concept: it’s just a pair of two iterators - to the beginning and to the end of a sequence (or a sentinel in some cases). Yet, such an abstraction can radically change the way you write algorithms. In this blog post, I’ll show you a key change that you get with C++20 Ranges.| C++ Stories