view dmd/Complex.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents 9e39c7de8438
children
line wrap: on
line source

module dmd.Complex;

struct Complex(T)
{
	T re;
	T im;
	
	public static const Complex zero = Complex(0, 0);
}