Forward Declaration

BCS ao at pathlink.com
Sat Mar 17 10:56:08 PDT 2007


Reply to Satish,

> Hello D Programmers
> 
[...]
> Why doesn't 'D' allow to separate method definition and method
> implementation

IIRC it is for the same reason that D doesn't have prototypes and hand made 
headers (.di's are generated by DMD). The issue is that having duplicate 
information can cause problems if only one is updated.

[...]
> 
> Thanks for the advice.
> 
> Satish
> 





More information about the Digitalmars-d mailing list