On Monday, 31 October 2016 at 19:08:50 UTC, 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.

DMD64 D Compiler v2.072.0
Copyright (c) 1999-2016 by Digital Mars written by Walter Bright

Ubuntu 16.04

Reply via email to