Definition in file stl_algobase.h.
Go to the source code of this file.
|
Copies the range [first,last) into result.
memmove whenever possible. Failing that, if random access iterators are passed, then the loop count will be known (and therefore a candidate for compiler optimizations such as unrolling). Result may not be contained within [first,last); the copy_backward function should be used instead.Note that the end of the output range is permitted to be contained within [first,last). Definition at line 368 of file stl_algobase.h. References __gnu_cxx::copy_n(). Referenced by codecvt< _InternT, _ExternT, encoding_state >::do_out(), vector::erase(), deque::erase(), std::merge(), vector::operator=(), deque::operator=(), std::rotate_copy(), std::set_difference(), std::set_symmetric_difference(), std::set_union(), basic_filebuf::underflow(), basic_streambuf::xsgetn(), and basic_streambuf::xsputn(). |
|
Copies the range [first,last) into result.
memmove whenever possible. Failing that, if random access iterators are passed, then the loop count will be known (and therefore a candidate for compiler optimizations such as unrolling).Result may not be in the range [first,last). Use copy instead. Note that the start of the output range may overlap [first,last). Definition at line 497 of file stl_algobase.h. Referenced by deque::erase(). |
|
Tests a range for element-wise equality.
Definition at line 774 of file stl_algobase.h. |
|
Tests a range for element-wise equality.
== and returns true or false depending on whether all of the corresponding elements of the ranges are equal.
Definition at line 741 of file stl_algobase.h. Referenced by std::operator==(). |
|
Fills the range [first,last) with copies of value.
memset .
Definition at line 553 of file stl_algobase.h. |
|
Fills the range [first,first+n) with copies of value.
memset .
Definition at line 629 of file stl_algobase.h. |
|
Swaps the contents of two iterators.
Definition at line 142 of file stl_algobase.h. Referenced by std::next_permutation(), std::prev_permutation(), std::random_shuffle(), and std::swap_ranges(). |
|
Performs "dictionary" comparison on ranges.
lexigraphical_compare , but uses the comp parameter instead of < .
Definition at line 846 of file stl_algobase.h. |
|
Performs "dictionary" comparison on ranges.
memcmp .
Definition at line 805 of file stl_algobase.h. Referenced by std::operator<(). |
|
This does what you think it does.
Definition at line 241 of file stl_algobase.h. |
|
This does what you think it does.
Definition at line 199 of file stl_algobase.h. Referenced by basic_istream::ignore(), std::operator>>(), basic_istream::operator>>(), and basic_stringbuf::overflow(). |
|
This does what you think it does.
Definition at line 221 of file stl_algobase.h. |
|
This does what you think it does.
Definition at line 177 of file stl_algobase.h. Referenced by basic_string::compare(), basic_string< char >::compare(), basic_istream::ignore(), basic_istream::operator>>(), basic_stringbuf::overflow(), __gnu_cxx::random_sample_n(), basic_string::rfind(), basic_filebuf::underflow(), basic_streambuf::xsgetn(), and basic_streambuf::xsputn(). |
|
Finds the places in ranges which don't match.
Definition at line 712 of file stl_algobase.h. |
|
Finds the places in ranges which don't match.
== and returns a pair of iterators. The first iterator points into the first range, the second iterator points into the second range, and the elements pointed to by the iterators are not equal.
Definition at line 676 of file stl_algobase.h. |
|
Swaps two values.
Definition at line 92 of file stl_algobase.h. |