From bcd3be47a19138a521eb0420a05dc4a1472124a3 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Thu, 3 Mar 2022 13:00:01 -0500 Subject: [PATCH] Update for 03-03-22 13:00 --- tech/C++.wiki | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tech/C++.wiki b/tech/C++.wiki index 7788cf8..22553a3 100644 --- a/tech/C++.wiki +++ b/tech/C++.wiki @@ -13,7 +13,10 @@ drawbacks due to the Object abstraction. === Distance between two enumerators === To find the distance between two enumerators, use `std::distance`. -It is from the `` header. +It is from the `` header. It takes two params, a begin and end +iterator. It returns an int of the number of spaces between the two iterators. + +Run time is `O(n)` == Also See ==