Sometimes when reading about C++, for instance about template argument deduction, the term “top-level cv-qualifiers” comes up. I just spent an unreasonable amount of time being puzzled by something because I didn’t understand that references don’t have top-level cv-qualifiers. This post will hopefully help the next person (hi, next-year Anders) not make the same mistake. … Continue reading References don’t have top-level cv-qualifiers→| C++ on a Friday
The moment that spawned this article was when I asked myself how hard can it be to make sure two types have the same size at compile time? Well… it’s complicated. In here, we’ll do a deep dive into the limits of compile time metaprogamming in today’s (and tonight’s) Rust.| geo-ant.github.io
const qualifier not always work the way we expect it to. In this article we will see some cases when the const doesn’t protect us from modifications at all.| C++ Senioreas