www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Just give me one good reason why I can't instantiate an abstract class

reply "Janice Caron" <caron800 googlemail.com> writes:
...please.

Pretty please.

As in, tell me which function I'm not implementing. (You only have to
tell me one. I'm patient. I can fix them one at a time).

But right now it just says "Unable to instantiate abstract class" or
some such, and no clue whatsoever as to which function is missing.

This has obviously been requested many times before. Any ETA?
Nov 13 2007
next sibling parent Frank Benoit <keinfarbton googlemail.com> writes:
Janice Caron schrieb:
 ....please.
 
 Pretty please.
 
 As in, tell me which function I'm not implementing. (You only have to
 tell me one. I'm patient. I can fix them one at a time).
 
 But right now it just says "Unable to instantiate abstract class" or
 some such, and no clue whatsoever as to which function is missing.
 
 This has obviously been requested many times before. Any ETA?

yes, and this problem became worse with D2. const is now one more way to change the signature.
Nov 13 2007
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Janice Caron wrote:
 ...please.

Please file a bugzilla report on it so it won't get forgotten.
Nov 13 2007
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Walter Bright schrieb:
 Janice Caron wrote:
 ...please.

Please file a bugzilla report on it so it won't get forgotten.

How about this one http://d.puremagic.com/issues/show_bug.cgi?id=204
Nov 13 2007
next sibling parent Walter Bright <newshound1 digitalmars.com> writes:
Frank Benoit wrote:
 Walter Bright schrieb:
 Janice Caron wrote:
 ...please.


How about this one http://d.puremagic.com/issues/show_bug.cgi?id=204

That'll do!
Nov 14 2007
prev sibling parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Frank Benoit wrote:
 Walter Bright schrieb:
 Janice Caron wrote:
 ...please.


How about this one http://d.puremagic.com/issues/show_bug.cgi?id=204

WTH?? In D you don't have to declare an abstract class as abstract (ie, using the abstract keyword)? ( la Java) -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Nov 14 2007
parent Lars Ivar Igesund <larsivar igesund.net> writes:
Bruno Medeiros wrote:

 Frank Benoit wrote:
 Walter Bright schrieb:
 Janice Caron wrote:
 ...please.


How about this one http://d.puremagic.com/issues/show_bug.cgi?id=204

WTH?? In D you don't have to declare an abstract class as abstract (ie, using the abstract keyword)? (à la Java)

Nope. Although whether this is an actually useful "feature" is a different question. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Nov 14 2007