no size yet for forward reference for nested structures
zeljkog via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 15 23:04:07 PST 2015
On 15.01.15 23:30, Steven Schveighoffer wrote:
> On 1/15/15 9:56 AM, zeljkog wrote:
>> This compiles:
>>
>> import std.container;
>>
>> class Node
>> {
>> DList!Node children;
>> }
>>
>
> Then use DList?
>
> DList is not SList, they were written by different people.
>
> -Steve
SList.Range has moveFront, DList.Range does not.
If I comment out SList.Range.moveFront, it compiles with SList.
More information about the Digitalmars-d
mailing list