rmove原型:
std::remove
template
ForwardIterator remove (ForwardIterator first, ForwardIterator last, const T& val);
查找的得到第一个元素的位置,然后从此位置开始遍历容器,将后面的元素依次前移,跳过和value相同值的元素,也就是说,所有和value相同...
分类:
其他好文 时间:
2014-09-25 10:43:28
阅读次数:
245
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
partition_point原型:
std::partition_point
template
ForwardIterator partition_point (ForwardIterator first, ForwardIterator last,
UnaryPredicate pred);
该函...
分类:
其他好文 时间:
2014-09-22 18:41:03
阅读次数:
118
partial_sort原型:
std::partial_sort
default (1)
template
void partial_sort (RandomAccessIterator first, RandomAccessIterator middle,
RandomAccessIterator last)...
分类:
其他好文 时间:
2014-09-22 17:38:32
阅读次数:
298
partition原型:
td::partition
C++98
C++11
template
ForwardIterator partition (ForwardIterator first,
ForwardIterator last, UnaryPredicate pred);
...
分类:
其他好文 时间:
2014-09-22 17:17:23
阅读次数:
170
nth_element原型:
std::nth_element
default (1)
template
void nth_element (RandomAccessIterator first, RandomAccessIterator nth,
RandomAccessIterator last);...
分类:
其他好文 时间:
2014-09-22 14:30:13
阅读次数:
223
next_permutation原型:
std::next_permutation
default (1)
template
bool next_permutation (BidirectionalIterator first,
BidirectionalIterator last);
...
分类:
其他好文 时间:
2014-09-19 12:12:35
阅读次数:
151
mismatch原型:
std::mismatch
equality (1)
template
pair
mismatch (InputIterator1 first1, InputIterator1 last1,
InputIterator2 first2);
predicate (2)
t...
分类:
其他好文 时间:
2014-09-19 10:13:55
阅读次数:
217
move原型:
std::move
template
OutputIterator move (InputIterator first, InputIterator last, OutputIterator result);
该函数是将指定范围内的元素移动到从result开始的位置。
move之后,[first,last)范围内的元素去留的具体实现由编译器决定。
...
分类:
其他好文 时间:
2014-09-19 10:09:05
阅读次数:
150
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