x2struct icon indicating copy to clipboard operation
x2struct copied to clipboard

std::wstring support

Open ghost opened this issue 6 years ago • 3 comments

It seems std::wstring is not supported by the x2struct library. Is there any plan to implement that?

ghost avatar Oct 16 '19 11:10 ghost

struct MYSTRUCT
{
    std::wstring content;
    XTOSTRUCT(O(content))
};

Failed to build doe to a x_struct_to_str function not found. Replacing the wstring to string can pass the build, but failed to process wide characters.

ghost avatar Oct 17 '19 00:10 ghost

https://stackoverflow.com/a/7154226/8364323

ghost avatar Oct 17 '19 09:10 ghost

will support later

xyz347 avatar Oct 18 '19 10:10 xyz347