wstring comparison is failing

Brett Brett at gmail.com
Mon Sep 23 20:38:03 UTC 2019


cast(wstring)entry.szExeFile == Name
to!wstring(entry.szExeFile) == Name

These all fail. The strings are clearly the same. I can compare 
char by char and it works. latest D 2.088. The only thing is that 
szExeFile is a static wchar array... which shouldn't effect the 
comparison.





More information about the Digitalmars-d-learn mailing list