Enum utilities are defined in the microlibrary
static library’s
microlibrary/enum.h
/microlibrary/enum.cc
header/source file pair.
to_underlying()
To convert an enum value to its underlying type, use the ::microlibrary::to_underlying()
utility.