(Non)Abstract Funcs, Linker Errors, and Wild Goose Chases
Jonathan M Davis
jmdavisProg at gmx.com
Fri Apr 27 10:31:22 PDT 2012
On Friday, April 27, 2012 06:57:28 Steven Schveighoffer wrote:
> You have my sympathy. Since working with D, I don't think I've *ever*
> used the "declare then implement" model. My personal opinion is that the
> compiler should require .di files for declaring stubbed methods.
That would be a problem because of documentation. You need to be able to
include stubbed out functions for ddoc (Phobos generally does that with
version(StdDdoc) when it needs to), otherwise platform-specific stuff doesn't
end up in the documentation when you generate it on _other_ platforms. And I
think that it would be unreasonable to require that that be done with .di
files.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list