[Issue 15508] Malloctor `deallocate` allocates in GC
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Jan  3 17:29:02 PST 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15508
b2.temp at gmx.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com
--- Comment #1 from b2.temp at gmx.com ---
(In reply to Илья Ярошенко from comment #0)
> std\experimental\allocator\mallocator.d(277): Error: @nogc function
> 'std.experimental.allocator.mallocator.AlignedMallocator.alignedReallocate'
> cannot call non- at nogc function
> 'std.experimental.allocator.mallocator.AlignedMallocator.deallocate'
on master or 2.070 beta 1 ?
yet it is well taged @nogc
https://github.com/D-Programming-Language/phobos/blob/master/std/experimental/allocator/mallocator.d#L243
--
    
    
More information about the Digitalmars-d-bugs
mailing list