April 09, 2017 [Issue 8947] redBlackTree() of fixed size arrays | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=8947 tetyys@tetyys.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tetyys@tetyys.com --- Comment #1 from tetyys@tetyys.com --- It's because you're calling https://github.com/dlang/phobos/blob/master/std/container/rbtree.d#L1836 which resolves you to having tree of integers, thus "t2.stableInsert(1)" is not wrong. To have a tree of array of integers, do "redBlackTree([ a ])". -- |
Copyright © 1999-2021 by the D Language Foundation