Boost logo

Boost :

Subject: [boost] interest in a flag library
From: Marc Pawlowsky (marcpawl_at_[hidden])
Date: 2018-10-26 03:12:57

You should take a look at

CPPCON 2018 session

Arno Lepisk <>
Avoiding Disasters with Strongly Typed C++

I think the technique he describes is what you are looking for.

Boost list run by bdawes at, gregod at, cpdaniel at, john at