What is the difference between typedef std :: basic_string <uint_32> and std :: basic_string <wchar_t> WString;
I need to decide how to handle wchar, which is not supported in Android Cross compilar NDK. I am currently doing typedef std::basic_string<wchar_t> WString; but I saw someone else typedef using typedef std::basic_string<uint_32> . I need to know exactly what I should do when I encounter this problem described here http://www.crystax.net/trac/ndk/ticket/10 I use android-ndk-r7, not crystalax. I need specific advice on how to handle wchar_t and const wchar_t *. What should I convert to?
UPDATE: I tried converting using uint32_t as a template for basic_string, but it gives errors for the comparison operator, does not match for the operator == and operator = ambiguous overload. However, using wchar_t does not make sense, since android skipped this as 4 bytes.
No one has answered this question yet.
See similar questions:
or similar: