Bug 13791 – std.container implementations don't support forward referenced types

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-11-29T00:39:22Z
Last change time
2024-12-01T16:23:05Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: phobos#9646 →

Comments

Comment #0 by code — 2014-11-29T00:39:22Z
cat > bug.d << CODE import std.container; struct A { Array!A ary; } struct B { SList!B slist; } struct C { DList!C dlist; } struct D { int id; int opCmp(const ref D rhs) const { return id - rhs.id; } RedBlackTree!D rbtree; } CODE ---- Neither of those containers can handle forward referenced types, but they should all support it.
Comment #1 by robert.schadek — 2024-12-01T16:23:05Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9646 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB