DMD 1.019 and 2.003 releases

Carlos Santander csantander619 at gmail.com
Mon Jul 23 13:06:01 PDT 2007


Walter Bright escribió:
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.019.zip
> 
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.003.zip

How can we check specific overloads with __traits? For example,

class A
{
	abstract void foo();
	int foo(int i) { return i; }
}

void main ()
{
	auto isvirtual = __traits(isAbstractFunction, A.foo); // what is it?
}

BTW, the documentation for __traits has isVirtualFunction in the example for 
isAbstractFunction.

-- 
Carlos Santander Bernal



More information about the Digitalmars-d-announce mailing list