[Issue 8947] redBlackTree() of fixed size arrays
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Apr 9 00:17:40 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=8947
tetyys at tetyys.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tetyys at tetyys.com
--- Comment #1 from tetyys at 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 ])".
--
More information about the Digitalmars-d-bugs
mailing list