Why are void[] contents marked as having pointers?

BCS none at anon.com
Fri Jun 5 10:16:08 PDT 2009


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.





More information about the Digitalmars-d mailing list