Enhance type safely using Opaque Typedefs aka phantom types
Its seems every year (see references at the bottom) someone writes about having strong typedefs in C++. Hey, it’s end of February and nobody did it for 2018 yet!? The idea is simple (or so it seems). Suppose you would like to distinguish variables that have the same basic type and have the compiler enforce Read more about Enhance type safely using Opaque Typedefs aka phantom types[…]