redBlackTree

with template functions

  1. auto redBlackTree(E[] elems...)
  2. auto redBlackTree(E[] elems...)
    redBlackTree
    (
    bool allowDuplicates
    E
    )
    ()
  3. auto redBlackTree(E[] elems...)

Examples

auto rbt1 = redBlackTree(0, 1, 5, 7);
auto rbt2 = redBlackTree!string("hello", "world");
auto rbt3 = redBlackTree!true(0, 1, 5, 7, 5);
auto rbt4 = redBlackTree!"a > b"(0, 1, 5, 7);

Meta