std.container / tightArray / class (de)allocators
Stephan
spam at extrawurst.org
Wed Jun 16 03:12:01 PDT 2010
On 16.06.2010 11:39, Lars T. Kyllingstad wrote:
> On Wed, 16 Jun 2010 10:04:05 +0200, Stephan wrote:
>> Btw. I downloaded the new dmd(2047) and tried to use this new Array
>> template. But it does not seem to work:
>>
>> import std.container;
>>
>> void main()
>> {
>> Array!(int) a;
>> }
>>
>> //src\phobos\std\container.d(1660): Error: function
>> core.stdc.stdlib.free (void* ptr) is not callable using argument types
>> (int[])
>> //src\phobos\std\container.d(1660): Error: cannot implicitly convert
>> expression ((*this._data)._payload) of type int[] to void*
>>
>>
>> is it my fault? does anyone else have this problem?
>
> It's a bug (and a strange one at that). I've checked in a fix, see:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=4327
>
> -Lars
thanks for that, i hope its in the next release.
More information about the Digitalmars-d
mailing list