Lots of fixes and added more dialogs

This commit is contained in:
2022-01-11 02:35:26 +01:00
parent b8c62a923e
commit 7fdcd5386d
76 changed files with 2196 additions and 196 deletions
+3
View File
@@ -23,8 +23,11 @@ bit_cast(const From& src) noexcept
return dst;
}
#if !__cpp_lib_to_underlying
template <typename EnumT, typename = std::enable_if_t<std::is_enum<EnumT>{}>>
constexpr std::underlying_type_t<EnumT> to_underlying(EnumT e) noexcept {
return static_cast<std::underlying_type_t<EnumT>>(e);
}
#endif
} // namespace std