On 25/11/2015 2:16 PM, Rikki Cattermole wrote:
On 25/11/15 1:47 AM, Meta wrote:I'm pretty sure you can just do:wstring text = "my string"; Or auto text = "my string"w;The second one is correct yes. I'm just assuming that it isn't compiled into the executable.
Either is fine. Non-suffixed string literals have a default type of string, but implicitly convert to wstring/dstring at compile time.