$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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 https://www.youtube.com/watch?v=1fwbG5TyI18
CPPCON 2018 session
https://cppcon2018.sched.com/event/FnKQ/avoiding-disasters-with-strongly-typed-c
Arno Lepisk <https://cppcon2018.sched.com/speaker/arno_lepisk>
Avoiding Disasters with Strongly Typed C++
I think the technique he describes is what you are looking for.