I'm trying to figure out if I can use both strings in the same project. I just need to use common function with different strings, like the following:
char* a = "raw string"
wchar* = L"unicode string"
and use the same function like
I'm looking for some template functions which can handle both strings, maybe something inside the std ? I'm not sure if find, replace etc.. provided in <algorithm> can handle this problem, any idea? Because I also need to use a lot of string util functions, not just the length.