DMD 1.037 and 2.020 releases

Kagamin spam at here.lot
Wed Nov 26 06:06:08 PST 2008


bearophile Wrote:

> - What is module(system) Identifier; syntax?
I think, module(safe) was meant, docs mention module(safe).

> - Added range support to foreach statement. What is this?
Good question, because what is called foreach range statement was implemented long ago.

> - >The 'this' parameter to struct member functions is now a reference type,< I know this was discussed, but how does this change code? Does this forces to change C code when it is ported to D? How to do such porting? Few examples of situations may be useful.

I'm affraid, this breaks my resource parser

struct ResourceTable
{
	ushort Shift; //alignment shift count
	ResourceType* FirstType()
	{
		return cast(ResourceType*)(this+1);
	}
}


More information about the Digitalmars-d-announce mailing list