std.allocator needs your help

Manu turkeyman at gmail.com
Mon Sep 23 07:07:34 PDT 2013


On 24 September 2013 00:04, Andrei Alexandrescu <
SeeWebsiteForEmail at erdani.org> wrote:

> On 9/22/13 10:20 PM, Benjamin Thaut wrote:
>
>> Am 23.09.2013 01:49, schrieb Andrei Alexandrescu:
>>
>>> Hello,
>>>
>>>
>>> 2. Untyped allocator - traffics exclusively in ubyte[].
>>>
>>>
>> Why "ubyte[]" and not "void[]"?
>>
>
> It's the logical choice at this level.
>
> ubyte[] == "these are octets"


Isn't that what void[] also means?
Except it says "these are un-typed octets, ie, not a sequence of typed
integers in the range 0-255".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130924/99eb061f/attachment.html>


More information about the Digitalmars-d mailing list