Commit 6caa5fa
authored
std.container.rbtree: Add trisect (dlang#10756)
Useful in case we need >= or <= (instead of > or < or = as provided by
lowerBound/upperBound/equalRange).
Same convention as SortedRange.trisect, except just return a static
array instead of a tuple (as the type is the same).1 parent 0dbb785 commit 6caa5fa
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1737 | 1737 | | |
1738 | 1738 | | |
1739 | 1739 | | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
1740 | 1760 | | |
1741 | 1761 | | |
1742 | 1762 | | |
| |||
2186 | 2206 | | |
2187 | 2207 | | |
2188 | 2208 | | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
2189 | 2214 | | |
2190 | 2215 | | |
2191 | 2216 | | |
| |||
0 commit comments