std.allocator needs your help

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Sep 23 07:16:27 PDT 2013


On 9/23/13 7:07 AM, Manu wrote:
> On 24 September 2013 00:04, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org <mailto: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".

I think void[] means "objects of unknown type".

Andrei



More information about the Digitalmars-d mailing list