- Shows how the introspection works with enum_class_ helper.
#include <xtd/as>
#include <xtd/console>
#include <xtd/enum_class>
constexpr int NORMAL = 0b0;
constexpr int BOLD = 0b1;
constexpr int ITALIC = 0b10;
constexpr int UNDERLINE = 0b100;
constexpr int STRIKEOUT = 0b1000;
normal = NORMAL,
bold = BOLD,
italic = ITALIC,
underline = UNDERLINE,
strikeout = STRIKEOUT
);
auto main()->int {
}