summaryrefslogtreecommitdiff
path: root/datastructures/stlTree.cpp
diff options
context:
space:
mode:
authorPaul Jungeblut <paul.jungeblut@gmail.com>2016-10-02 18:49:19 +0200
committerPaul Jungeblut <paul.jungeblut@gmail.com>2016-10-02 18:49:19 +0200
commit0ab75cddde1c959fe434c6554f1d3e1ed2719780 (patch)
tree9cf1d5f5a46ec60edf65c8a8b002ece7d89bf89e /datastructures/stlTree.cpp
parent3ef01f79baa2dd8c391e31c2a6fd02b97cdb75ec (diff)
Optical improvements of the datastructures section.
Diffstat (limited to 'datastructures/stlTree.cpp')
-rw-r--r--datastructures/stlTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datastructures/stlTree.cpp b/datastructures/stlTree.cpp
index 73472a7..bdbeae3 100644
--- a/datastructures/stlTree.cpp
+++ b/datastructures/stlTree.cpp
@@ -7,6 +7,6 @@ int main() {
Tree X;
for (int i = 1; i <= 16; i <<= 1) X.insert(i); // {1, 2, 4, 8, 16}
cout << *X.find_by_order(3) << endl; // => 8
- cout << X.order_of_key(10) << endl; // => 4 = successor of 10 = min i such that X[i] >= 10
+ cout << X.order_of_key(10) << endl; // => 4 = Nachfolger von 10 = minimales i, sodass X[i] >= 10
return 0;
} \ No newline at end of file