Update for 03-03-22 13:00
This commit is contained in:
parent
15d6488c4a
commit
bcd3be47a1
@ -13,7 +13,10 @@ drawbacks due to the Object abstraction.
|
|||||||
=== Distance between two enumerators ===
|
=== Distance between two enumerators ===
|
||||||
|
|
||||||
To find the distance between two enumerators, use `std::distance`.
|
To find the distance between two enumerators, use `std::distance`.
|
||||||
It is from the `<iterator>` header.
|
It is from the `<iterator>` 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 ==
|
== Also See ==
|
||||||
|
Loading…
Reference in New Issue
Block a user