摘要:
1: template inline 2: void sort(_RanIt _First, _RanIt _Last) 3: { // order [_First, _Last), using operator inline 4: void _Sort(_RanIt _First, _RanIt _Last, _Diff _Ideal, _Pr _Pr... 阅读全文
posted @ 2013-12-23 17:06
Daniel King
阅读(241)
评论(0)
推荐(0)
摘要:
1: template 2: ForwardIterator unique (ForwardIterator first, ForwardIterator last) 3: { 4: if (first==last) 5: return last; 6: 7: ForwardIterator result = first; 8: w... 阅读全文
posted @ 2013-12-23 15:27
Daniel King
阅读(197)
评论(0)
推荐(0)
摘要:
1: template 2: OutputIterator set_difference (InputIterator1 first1, InputIterator1 last1, 3: InputIterator2 first2, InputIterator2 last2, 4: ... 阅读全文
posted @ 2013-12-23 15:22
Daniel King
阅读(558)
评论(0)
推荐(0)

浙公网安备 33010602011771号