Added type traits and string utils

This commit is contained in:
NaifBanana
2026-06-11 04:24:06 -05:00
parent fb695798e7
commit 40cf079e9d
12 changed files with 218 additions and 125 deletions
+2
View File
@@ -10,6 +10,8 @@ static bool RUN_LOGGER(nb::DefaultDebugLogger& log) {
return log.run();
}
static const bool LOGGER_RUNNING = RUN_LOGGER(logger);
} // namespace nb
+1
View File
@@ -0,0 +1 @@
#include "StringUtils.hpp"
-7
View File
@@ -1,8 +1 @@
#include <string>
#include "Utils.hpp"
template<>
std::wstring nb::str_to_wstr(const std::string& in) {
std::wstring ret(in.begin(), in.end());
return ret;
}