Lines Matching refs:allowDuplicates
745 final class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
850 static if (allowDuplicates)
893 static if (!allowDuplicates)
922 static if (!allowDuplicates)
947 static if (allowDuplicates)
1266 static if (allowDuplicates)
1290 static if (allowDuplicates)
1314 static if (allowDuplicates)
1520 given which is in the container. If `allowDuplicates` is true,
1592 static if (allowDuplicates)
1726 static if (allowDuplicates)
1805 static if (allowDuplicates)
1973 allowDuplicates = Whether duplicates should be allowed (optional, default: false)
1984 auto redBlackTree(bool allowDuplicates, E)(E[] elems...)
1986 return new RedBlackTree!(E, "a < b", allowDuplicates)(elems);
1997 auto redBlackTree(alias less, bool allowDuplicates, E)(E[] elems...)
2003 return new RedBlackTree!(E, binaryFun!less, allowDuplicates)(elems);
2014 auto redBlackTree(bool allowDuplicates, Stuff)(Stuff range)
2017 return new RedBlackTree!(ElementType!Stuff, "a < b", allowDuplicates)(range);
2029 auto redBlackTree(alias less, bool allowDuplicates, Stuff)(Stuff range)
2036 return new RedBlackTree!(ElementType!Stuff, binaryFun!less, allowDuplicates)(range);