Added type traits and string utils
This commit is contained in:
@@ -10,6 +10,8 @@ static bool RUN_LOGGER(nb::DefaultDebugLogger& log) {
|
||||
return log.run();
|
||||
}
|
||||
|
||||
|
||||
|
||||
static const bool LOGGER_RUNNING = RUN_LOGGER(logger);
|
||||
|
||||
} // namespace nb
|
||||
@@ -0,0 +1 @@
|
||||
#include "StringUtils.hpp"
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user