Phobos addition formal review: std.experimental.allocator

Baz via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 12 11:23:39 PDT 2015


On Friday, 12 June 2015 at 11:09:01 UTC, Dicebot wrote:
> Small tip for reviewers: there are quite many modules in 
> proposed package but majority is actual allocator 
> implementation. I'd suggest to start investigating 
> sources/documentation starting from 
> http://erdani.com/d/phobos-prerelease/std_experimental_allocator.html 
> and 
> http://erdani.com/d/phobos-prerelease/std_experimental_allocator_building_blocks.html 
> while using 
> http://erdani.com/d/phobos-prerelease/std_experimental_allocator_showcase.html 
> as reference for "highlight" examples.

while building the package as a static lic library, i've found 
that
_showcase.d_ is not usable under Windows because MmapAllocator is 
Posix only:

https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/showcase.d#L66
https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/mmap_allocator.d#L14



More information about the Digitalmars-d mailing list