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);
}
}