types.hpp: Format C arrays too for assert errors
This commit is contained in:
@@ -928,6 +928,10 @@ std::conditional_t<std::is_integral_v<std::remove_cvref_t<T>>, usz, std::string_
|
|||||||
{
|
{
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
else if constexpr (std::is_array_v<type> && std::is_constructible_v<std::string_view, type>)
|
||||||
|
{
|
||||||
|
return { obj, std::size(obj) - 1 };
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return std::string_view{};
|
return std::string_view{};
|
||||||
|
|||||||
Reference in New Issue
Block a user