I have a function like :
template <const char delim = ' ', typename Arg>
inline std::string jq2StlString(const Arg& arg)
{
if constexpr (std::is_same_v<Arg, std::wstring>)
{
jqWideChar2StlString(arg);
}
else if constexpr (std::is_convertible_v<Arg, const wchar_t*>)
{
jqWideChar2StlString(arg);
}
...
}
how could I match wchar_t array with different size like :
wchar_t[8]
wchar_t[3]
so on ?