码迷,mamicode.com
首页 >  
搜索关键字:stl算法    ( 183个结果
STL algorithm算法rmonve,rmove_if(47)
rmove原型: std::remove template ForwardIterator remove (ForwardIterator first, ForwardIterator last, const T& val); 查找的得到第一个元素的位置,然后从此位置开始遍历容器,将后面的元素依次前移,跳过和value相同值的元素,也就是说,所有和value相同...
分类:其他好文   时间:2014-09-25 10:43:28    阅读次数:245
STL algorithm算法pop_heap,push_heap(45)
pop_heap原型: std::pop_heap default (1) template void pop_heap (RandomAccessIterator first, RandomAccessIterator last); custom (2) template void pop_heap (RandomAcc...
分类:其他好文   时间:2014-09-22 19:25:23    阅读次数:183
STL algorithm算法partition_point,stable_partition(44)
partition_point原型: std::partition_point template ForwardIterator partition_point (ForwardIterator first, ForwardIterator last, UnaryPredicate pred); 该函...
分类:其他好文   时间:2014-09-22 18:41:03    阅读次数:118
STL algorithm算法partial_sort,partial_sort_copy(42)
partial_sort原型: std::partial_sort default (1) template void partial_sort (RandomAccessIterator first, RandomAccessIterator middle, RandomAccessIterator last)...
分类:其他好文   时间:2014-09-22 17:38:32    阅读次数:298
STL algorithm算法partition, partition_copy(43)
partition原型: td::partition C++98 C++11 template ForwardIterator partition (ForwardIterator first, ForwardIterator last, UnaryPredicate pred); ...
分类:其他好文   时间:2014-09-22 17:17:23    阅读次数:170
STL algorithm算法nth_elements(41)
nth_element原型: std::nth_element default (1) template void nth_element (RandomAccessIterator first, RandomAccessIterator nth, RandomAccessIterator last);...
分类:其他好文   时间:2014-09-22 14:30:13    阅读次数:223
STL algorithm算法next_permutation,prev_permutation(39)
next_permutation原型: std::next_permutation default (1) template bool next_permutation (BidirectionalIterator first, BidirectionalIterator last); ...
分类:其他好文   时间:2014-09-19 12:12:35    阅读次数:151
STL algorithm算法mismatch(37)
mismatch原型: std::mismatch equality (1) template pair mismatch (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2); predicate (2) t...
分类:其他好文   时间:2014-09-19 10:13:55    阅读次数:217
STL algorithm算法mov,move_backward(38)
move原型: std::move template OutputIterator move (InputIterator first, InputIterator last, OutputIterator result); 该函数是将指定范围内的元素移动到从result开始的位置。 move之后,[first,last)范围内的元素去留的具体实现由编译器决定。 ...
分类:其他好文   时间:2014-09-19 10:09:05    阅读次数:150
STL algorithm算法minmax,minmax_element(36)
minmax原型: std::minmax C++11 C++14 default (1) template pair minmax (const T& a, const T& b); custom (2) template pair minmax (const T& a, const T& b...
分类:其他好文   时间:2014-09-18 02:02:13    阅读次数:242
183条   上一页 1 ... 13 14 15 16 17 ... 19 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!