Comparison

Jonas Drewsen nospam4321 at hotmail.com
Tue Nov 26 13:37:47 PST 2013


Isn't it a bug that the assertion is triggered for this:

class Test3 {}

void main()
{
	assert( (new Test3()) == (new Test3()) );
}

Tried it on http://dpaste.dzfl.pl/ as well.

/Jonas


More information about the Digitalmars-d-learn mailing list