Wednesday, March 8, 2023

The joys of C++ templates

It’s been a little while, hasn’t it?

Anyway, this post is about C++ and how nothing ever goes wrong with it, ever. I was building a map with a pair of strings as the key and a complex (and confidential) value. For the purposes of this post, I’ll say the value is an int; the exact value type is irrelevant to this post, anyway.