New adapter: std.allocator.quantizer

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun May 10 09:50:04 PDT 2015


On 5/10/15 5:02 AM, Timon Gehr wrote:
> size_t brokenRoundingFunction(size_t siz){
>      if(siz==10) return 40;
>      if(siz==20) return 30;
>      return siz;
> }

Say no more, got it. I'll change the docs. -- Andrei


More information about the Digitalmars-d mailing list