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.
Gary Willoughby via Digitalmars-d-learn Mon, 31 Oct 2016 12:10:50 -0700
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.