Const template
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Tue Jan 23 19:09:23 PST 2007
Andrei Alexandrescu (See Website For Email) wrote:
>
> * D avoids the issue of duplicated function bodies in the following way:
>
> struct Widget
> {
> storageof(this) int* Foo(storageof(this))(int i) { ... }
> }
>
Hum... what if I want to override such functions? Will D even allow it?
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list