Why are void[] contents marked as having pointers?
Vladimir Panteleev
thecybershadow at gmail.com
Fri Jun 5 12:00:39 PDT 2009
On Fri, 05 Jun 2009 20:16:08 +0300, BCS <none at anon.com> wrote:
> Hello Vladimir,
>
>> On Fri, 05 Jun 2009 10:15:11 +0300, BCS <none at anon.com> wrote:
>>
>>> Hello Vladimir,
>>>
>>>> I don't see why you'd want to work with arrays of signed bytes.
>>>>
>>> I can think of a number of cases where I would expect numbers to be
>>> in a range like [-20,+20], for instance, delta of small integral
>>> value or golf scores relative to par.
>>>
>> Yes, but how is this related to abstracting data types to a generic
>> type that can be used for stuff like buffering or networking?
>>
>
> It's not and that's the point. The point is there are uses for 8-bit
> signed integer values other than as raw data. I might have read your
> comment out of context but it seemed you were saying there is no use for
> the signed byte type.
Oh yes; I was definitely not suggesting removing byte[] from the language.
<insidejoke namespace="#d">I'm sure he wouldn't be pleased one bit if we
did that! :P</insidejoke>
--
Best regards,
Vladimir mailto:thecybershadow at gmail.com
More information about the Digitalmars-d
mailing list