upgrade core add header check and incrace upload speed
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <variant>
|
||||
#include "Export.h"
|
||||
#include <functional>
|
||||
#include <filesystem>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
|
||||
@@ -217,6 +218,8 @@ namespace uns
|
||||
else if constexpr (std::is_pointer_v<D>)
|
||||
value = static_cast<const void*>(val);
|
||||
// 7. 标准库容器(关键点:利用 Lambda 闭包在不引入 fmt 的情况下擦除容器类型!)
|
||||
else if constexpr (std::is_same<D, std::filesystem::path>::value)
|
||||
value = ConvertWStringToUtf8(val.generic_wstring());
|
||||
else if constexpr (is_container<D>::value)
|
||||
{
|
||||
value = RangeCapturer{ &val, [] (const void* p, std::vector<LogArg>& out)
|
||||
|
||||
Reference in New Issue
Block a user