I****k 发帖数: 35 | 1 In STL, Sort algorithm take two iterator parameters, can we pass two
points to begin/end of an array to Sort algorithm in STL? why? | t****t 发帖数: 6806 | 2 yes, you can. be ware that "end of array" really means the position beyond
the last element.
【在 I****k 的大作中提到】 : In STL, Sort algorithm take two iterator parameters, can we pass two : points to begin/end of an array to Sort algorithm in STL? why?
|
|