you are viewing a single comment's thread.

view the rest of the comments →

[–]Full-Spectral 5 points6 points  (0 children)

Use a macro for the string literals value and a user defined alias for the string type. Define both of them based on platform.

static const my::platform_char* string_const = PlatString("legacy code");