Should we have an Unimplemented Attribute?
Simen kjaeraas
simen.kjaras at gmail.com
Wed Feb 2 17:48:05 PST 2011
Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> On Wednesday, February 02, 2011 16:16:00 Andrej Mitrovic wrote:
>> On 2/3/11, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
>> > Usually the thing to do would be to either comment them out or put an
>> > assert(0)
>>
>> Can't do that with classes and struct.
>
> ??? You can comment out classes and structs just fine. You can also
> comment out
> member functions of classes and structs just fine. You can put assert(0)
> in
> member functions of classes and structs just fine. In this case, it
> sounds like a
> particular member function should have been commented out but wasn't.
>
> - Jonathan M Davis
I think he means that any use of an @unimplemented class should give a
warning/error/other message.
--
Simen
More information about the Digitalmars-d
mailing list