A Fixed Capacity Vector in C++: The Rule of Five
With the raw storage in place, we implement construction and destruction: default, copy, move, initializer-list construction, and the assignment operators — with a careful eye on exception safety.
With the raw storage in place, we implement construction and destruction: default, copy, move, initializer-list construction, and the assignment operators — with a careful eye on exception safety.
The first post in a series on implementing a FixedCapacityVector – a container that fills the gap between std::array and std::vector. We start with the raw storage: a byte buffer, alignment, and accessing it as typed memory.
I was able to streamline my CMake-based development workflow quite a bit by defining just six environment variables.
GCC 16.1 just shipped early support for C++26 contracts - making it the first major compiler to do so. I took it for a spin and wrote up my first impressions.
My solutions to LeetCode problems in C++ (and some Python & Rust).

KTailctl is a graphical desktop client for the Tailscale mesh network for the Linux desktop.