digitalmars.D - abstract inheritance
- Sean Kelly (25/25) Jul 24 2004 I think it's a tad odd that this compiles:
- Nick (18/30) Jul 24 2004 Well, considering that the following just compiled and ran:
I think it's a tad odd that this compiles: I had assumed that thhis was the equivalent of the C++ code: ie. that it forced the user to implement the functions and the bodies were provided as defaults. Sean
Jul 24 2004
In article <cducnr$1731$1 digitaldaemon.com>, Sean Kelly says...I think it's a tad odd that this compiles: [snip]Well, considering that the following just compiled and ran: I'd say it looks like the 'abstract' attribute is completely ignored when you specify a function body. The docs are painfully low on details about the 'abstract' attribute, so I'm not really sure if this classifies as a bug :) Nick
Jul 24 2004