On 10/31/16 3:08 PM, Gary Willoughby wrote:
Can someone please explain why the following assertion fails?import std.stdio; import std.conv; void main(string[] args) { auto x = 1; assert(hashOf(x.to!(string)) == hashOf(x.to!(string))); } Thanks.
IMO, it shouldn't. A string's "value" has nothing to do with it's location. -Steve
