Смотрите, там потихонечку рефлексию на С++ натягивают. Как обычно, отвратительно, но не абсолютно. https://compiler-explorer.com/z/65sPe3zrK
Взял тут https://twitter.com/matus_chochlik/status/1466097263604871168
Взял тут https://twitter.com/matus_chochlik/status/1466097263604871168
Compiler-Explorer
Compiler Explorer - C++ (x86-64 clang (reflection))
enum class weekdays {
monday, tuesday, wednesday, thursday, friday, saturday, sunday
};
namespace meta = std::experimental::reflect;
template <typename... MEC>
struct enum_to_string_helper {
template <typename E>
static std::string_view find(E e)…
monday, tuesday, wednesday, thursday, friday, saturday, sunday
};
namespace meta = std::experimental::reflect;
template <typename... MEC>
struct enum_to_string_helper {
template <typename E>
static std::string_view find(E e)…
Вышел монитор для java разработки
https://sprocketfox.io/xssfox/2021/12/02/xrandr/
https://sprocketfox.io/xssfox/2021/12/02/xrandr/