libstdc++
|
Go to the source code of this file.
Namespaces | |
std | |
Macros | |
#define | __cpp_lib_constexpr_algorithms |
Functions | |
template<typename _FIter > | |
constexpr _FIter | std::adjacent_find (_FIter, _FIter) |
template<typename _FIter , typename _BinaryPredicate > | |
constexpr _FIter | std::adjacent_find (_FIter, _FIter, _BinaryPredicate) |
template<typename _IIter , typename _Predicate > | |
constexpr bool | std::all_of (_IIter, _IIter, _Predicate) |
template<typename _IIter , typename _Predicate > | |
constexpr bool | std::any_of (_IIter, _IIter, _Predicate) |
template<typename _FIter , typename _Tp > | |
constexpr bool | std::binary_search (_FIter, _FIter, const _Tp &) |
template<typename _FIter , typename _Tp , typename _Compare > | |
constexpr bool | std::binary_search (_FIter, _FIter, const _Tp &, _Compare) |
template<typename _Tp > | |
constexpr const _Tp & | std::clamp (const _Tp &__val, const _Tp &__lo, const _Tp &__hi) |
template<typename _Tp , typename _Compare > | |
constexpr const _Tp & | std::clamp (const _Tp &__val, const _Tp &__lo, const _Tp &__hi, _Compare __comp) |
template<typename _IIter , typename _OIter > | |
constexpr _OIter | std::copy (_IIter, _IIter, _OIter) |
template<typename _BIter1 , typename _BIter2 > | |
constexpr _BIter2 | std::copy_backward (_BIter1, _BIter1, _BIter2) |
template<typename _IIter , typename _OIter , typename _Predicate > | |
constexpr _OIter | std::copy_if (_IIter, _IIter, _OIter, _Predicate) |
template<typename _IIter , typename _Size , typename _OIter > | |
constexpr _OIter | std::copy_n (_IIter, _Size, _OIter) |
template<typename _IIter , typename _Tp > | |
constexpr iterator_traits< _IIter >::difference_type | std::count (_IIter, _IIter, const _Tp &) |
template<typename _IIter , typename _Predicate > | |
constexpr iterator_traits< _IIter >::difference_type | std::count_if (_IIter, _IIter, _Predicate) |
template<typename _IIter1 , typename _IIter2 , typename _BinaryPredicate > | |
constexpr bool | std::equal (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _BinaryPredicate __binary_pred) |
template<typename _IIter1 , typename _IIter2 > | |
constexpr bool | std::equal (_IIter1, _IIter1, _IIter2) |
template<typename _FIter , typename _Tp > | |
constexpr pair< _FIter, _FIter > | std::equal_range (_FIter, _FIter, const _Tp &) |
template<typename _FIter , typename _Tp , typename _Compare > | |
constexpr pair< _FIter, _FIter > | std::equal_range (_FIter, _FIter, const _Tp &, _Compare) |
template<typename _FIter , typename _Tp > | |
constexpr void | std::fill (_FIter, _FIter, const _Tp &) |
template<typename _OIter , typename _Size , typename _Tp > | |
constexpr _OIter | std::fill_n (_OIter, _Size, const _Tp &) |
template<typename _IIter , typename _Tp > | |
constexpr _IIter | std::find (_IIter, _IIter, const _Tp &) |
template<typename _FIter1 , typename _FIter2 > | |
constexpr _FIter1 | std::find_end (_FIter1, _FIter1, _FIter2, _FIter2) |
template<typename _FIter1 , typename _FIter2 , typename _BinaryPredicate > | |
constexpr _FIter1 | std::find_end (_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate) |
template<typename _FIter1 , typename _FIter2 > | |
constexpr _FIter1 | std::find_first_of (_FIter1, _FIter1, _FIter2, _FIter2) |
template<typename _FIter1 , typename _FIter2 , typename _BinaryPredicate > | |
constexpr _FIter1 | std::find_first_of (_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate) |
template<typename _IIter , typename _Predicate > | |
constexpr _IIter | std::find_if (_IIter, _IIter, _Predicate) |
template<typename _IIter , typename _Predicate > | |
constexpr _IIter | std::find_if_not (_IIter, _IIter, _Predicate) |
template<typename _IIter , typename _Funct > | |
constexpr _Funct | std::for_each (_IIter, _IIter, _Funct) |
template<typename _FIter , typename _Generator > | |
constexpr void | std::generate (_FIter, _FIter, _Generator) |
template<typename _OIter , typename _Size , typename _Generator > | |
constexpr _OIter | std::generate_n (_OIter, _Size, _Generator) |
template<typename _IIter1 , typename _IIter2 > | |
constexpr bool | std::includes (_IIter1, _IIter1, _IIter2, _IIter2) |
template<typename _IIter1 , typename _IIter2 , typename _Compare > | |
constexpr bool | std::includes (_IIter1, _IIter1, _IIter2, _IIter2, _Compare) |
template<typename _BIter > | |
void | std::inplace_merge (_BIter, _BIter, _BIter) |
template<typename _BIter , typename _Compare > | |
void | std::inplace_merge (_BIter, _BIter, _BIter, _Compare) |
template<typename _RAIter > | |
constexpr bool | std::is_heap (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr bool | std::is_heap (_RAIter, _RAIter, _Compare) |
template<typename _RAIter > | |
constexpr _RAIter | std::is_heap_until (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr _RAIter | std::is_heap_until (_RAIter, _RAIter, _Compare) |
template<typename _IIter , typename _Predicate > | |
constexpr bool | std::is_partitioned (_IIter, _IIter, _Predicate) |
template<typename _FIter1 , typename _FIter2 > | |
constexpr bool | std::is_permutation (_FIter1, _FIter1, _FIter2) |
template<typename _FIter1 , typename _FIter2 , typename _BinaryPredicate > | |
constexpr bool | std::is_permutation (_FIter1, _FIter1, _FIter2, _BinaryPredicate) |
template<typename _FIter > | |
constexpr bool | std::is_sorted (_FIter, _FIter) |
template<typename _FIter , typename _Compare > | |
constexpr bool | std::is_sorted (_FIter, _FIter, _Compare) |
template<typename _FIter > | |
constexpr _FIter | std::is_sorted_until (_FIter, _FIter) |
template<typename _FIter , typename _Compare > | |
constexpr _FIter | std::is_sorted_until (_FIter, _FIter, _Compare) |
template<typename _FIter1 , typename _FIter2 > | |
constexpr void | std::iter_swap (_FIter1, _FIter2) |
template<typename _IIter1 , typename _IIter2 > | |
constexpr bool | std::lexicographical_compare (_IIter1, _IIter1, _IIter2, _IIter2) |
template<typename _IIter1 , typename _IIter2 , typename _Compare > | |
constexpr bool | std::lexicographical_compare (_IIter1, _IIter1, _IIter2, _IIter2, _Compare) |
template<typename _FIter , typename _Tp > | |
constexpr _FIter | std::lower_bound (_FIter, _FIter, const _Tp &) |
template<typename _FIter , typename _Tp , typename _Compare > | |
constexpr _FIter | std::lower_bound (_FIter, _FIter, const _Tp &, _Compare) |
template<typename _RAIter > | |
constexpr void | std::make_heap (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::make_heap (_RAIter, _RAIter, _Compare) |
template<typename _Tp > | |
constexpr const _Tp & | std::max (const _Tp &__a, const _Tp &__b) |
template<typename _Tp , typename _Compare > | |
constexpr const _Tp & | std::max (const _Tp &__a, const _Tp &__b, _Compare __comp) |
template<typename _Tp > | |
constexpr _Tp | std::max (initializer_list< _Tp >) |
template<typename _Tp , typename _Compare > | |
constexpr _Tp | std::max (initializer_list< _Tp >, _Compare) |
template<typename _FIter > | |
constexpr _FIter | std::max_element (_FIter, _FIter) |
template<typename _FIter , typename _Compare > | |
constexpr _FIter | std::max_element (_FIter, _FIter, _Compare) |
template<typename _IIter1 , typename _IIter2 , typename _OIter > | |
constexpr _OIter | std::merge (_IIter1, _IIter1, _IIter2, _IIter2, _OIter) |
template<typename _IIter1 , typename _IIter2 , typename _OIter , typename _Compare > | |
constexpr _OIter | std::merge (_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare) |
template<typename _Tp > | |
constexpr const _Tp & | std::min (const _Tp &__a, const _Tp &__b) |
template<typename _Tp , typename _Compare > | |
constexpr const _Tp & | std::min (const _Tp &__a, const _Tp &__b, _Compare __comp) |
template<typename _Tp > | |
constexpr _Tp | std::min (initializer_list< _Tp >) |
template<typename _Tp , typename _Compare > | |
constexpr _Tp | std::min (initializer_list< _Tp >, _Compare) |
template<typename _FIter > | |
constexpr _FIter | std::min_element (_FIter, _FIter) |
template<typename _FIter , typename _Compare > | |
constexpr _FIter | std::min_element (_FIter, _FIter, _Compare) |
template<typename _Tp > | |
constexpr pair< const _Tp &, const _Tp & > | std::minmax (const _Tp &__a, const _Tp &__b) |
template<typename _Tp , typename _Compare > | |
constexpr pair< const _Tp &, const _Tp & > | std::minmax (const _Tp &__a, const _Tp &__b, _Compare __comp) |
template<typename _Tp > | |
constexpr pair< _Tp, _Tp > | std::minmax (initializer_list< _Tp >) |
template<typename _Tp , typename _Compare > | |
constexpr pair< _Tp, _Tp > | std::minmax (initializer_list< _Tp >, _Compare) |
template<typename _FIter > | |
constexpr pair< _FIter, _FIter > | std::minmax_element (_FIter, _FIter) |
template<typename _FIter , typename _Compare > | |
constexpr pair< _FIter, _FIter > | std::minmax_element (_FIter, _FIter, _Compare) |
template<typename _IIter1 , typename _IIter2 > | |
constexpr pair< _IIter1, _IIter2 > | std::mismatch (_IIter1, _IIter1, _IIter2) |
template<typename _IIter1 , typename _IIter2 , typename _BinaryPredicate > | |
constexpr pair< _IIter1, _IIter2 > | std::mismatch (_IIter1, _IIter1, _IIter2, _BinaryPredicate) |
template<typename _BIter > | |
constexpr bool | std::next_permutation (_BIter, _BIter) |
template<typename _BIter , typename _Compare > | |
constexpr bool | std::next_permutation (_BIter, _BIter, _Compare) |
template<typename _IIter , typename _Predicate > | |
constexpr bool | std::none_of (_IIter, _IIter, _Predicate) |
template<typename _RAIter > | |
constexpr void | std::nth_element (_RAIter, _RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::nth_element (_RAIter, _RAIter, _RAIter, _Compare) |
template<typename _RAIter > | |
constexpr void | std::partial_sort (_RAIter, _RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::partial_sort (_RAIter, _RAIter, _RAIter, _Compare) |
template<typename _IIter , typename _RAIter > | |
constexpr _RAIter | std::partial_sort_copy (_IIter, _IIter, _RAIter, _RAIter) |
template<typename _IIter , typename _RAIter , typename _Compare > | |
constexpr _RAIter | std::partial_sort_copy (_IIter, _IIter, _RAIter, _RAIter, _Compare) |
template<typename _BIter , typename _Predicate > | |
constexpr _BIter | std::partition (_BIter, _BIter, _Predicate) |
template<typename _IIter , typename _OIter1 , typename _OIter2 , typename _Predicate > | |
constexpr pair< _OIter1, _OIter2 > | std::partition_copy (_IIter, _IIter, _OIter1, _OIter2, _Predicate) |
template<typename _FIter , typename _Predicate > | |
constexpr _FIter | std::partition_point (_FIter, _FIter, _Predicate) |
template<typename _RAIter > | |
constexpr void | std::pop_heap (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::pop_heap (_RAIter, _RAIter, _Compare) |
template<typename _BIter > | |
constexpr bool | std::prev_permutation (_BIter, _BIter) |
template<typename _BIter , typename _Compare > | |
constexpr bool | std::prev_permutation (_BIter, _BIter, _Compare) |
template<typename _RAIter > | |
constexpr void | std::push_heap (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::push_heap (_RAIter, _RAIter, _Compare) |
template<typename _RAIter > | |
void | std::random_shuffle (_RAIter, _RAIter) |
template<typename _RAIter , typename _Generator > | |
void | std::random_shuffle (_RAIter, _RAIter, _Generator &&) |
template<typename _FIter , typename _Tp > | |
constexpr _FIter | std::remove (_FIter, _FIter, const _Tp &) |
template<typename _IIter , typename _OIter , typename _Tp > | |
constexpr _OIter | std::remove_copy (_IIter, _IIter, _OIter, const _Tp &) |
template<typename _IIter , typename _OIter , typename _Predicate > | |
constexpr _OIter | std::remove_copy_if (_IIter, _IIter, _OIter, _Predicate) |
template<typename _FIter , typename _Predicate > | |
constexpr _FIter | std::remove_if (_FIter, _FIter, _Predicate) |
template<typename _FIter , typename _Tp > | |
constexpr void | std::replace (_FIter, _FIter, const _Tp &, const _Tp &) |
template<typename _IIter , typename _OIter , typename _Tp > | |
constexpr _OIter | std::replace_copy (_IIter, _IIter, _OIter, const _Tp &, const _Tp &) |
template<typename _Iter , typename _OIter , typename _Predicate , typename _Tp > | |
constexpr _OIter | std::replace_copy_if (_Iter, _Iter, _OIter, _Predicate, const _Tp &) |
template<typename _FIter , typename _Predicate , typename _Tp > | |
constexpr void | std::replace_if (_FIter, _FIter, _Predicate, const _Tp &) |
template<typename _BIter > | |
constexpr void | std::reverse (_BIter, _BIter) |
template<typename _BIter , typename _OIter > | |
constexpr _OIter | std::reverse_copy (_BIter, _BIter, _OIter) |
template<typename _FIter > | |
constexpr _FIter | std::rotate (_FIter, _FIter, _FIter) |
template<typename _FIter , typename _OIter > | |
constexpr _OIter | std::rotate_copy (_FIter, _FIter, _FIter, _OIter) |
template<typename _FIter1 , typename _FIter2 > | |
constexpr _FIter1 | std::search (_FIter1, _FIter1, _FIter2, _FIter2) |
template<typename _FIter1 , typename _FIter2 , typename _BinaryPredicate > | |
constexpr _FIter1 | std::search (_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate) |
template<typename _FIter , typename _Size , typename _Tp > | |
constexpr _FIter | std::search_n (_FIter, _FIter, _Size, const _Tp &) |
template<typename _FIter , typename _Size , typename _Tp , typename _BinaryPredicate > | |
constexpr _FIter | std::search_n (_FIter, _FIter, _Size, const _Tp &, _BinaryPredicate) |
template<typename _IIter1 , typename _IIter2 , typename _OIter > | |
constexpr _OIter | std::set_difference (_IIter1, _IIter1, _IIter2, _IIter2, _OIter) |
template<typename _IIter1 , typename _IIter2 , typename _OIter , typename _Compare > | |
constexpr _OIter | std::set_difference (_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare) |
template<typename _IIter1 , typename _IIter2 , typename _OIter > | |
constexpr _OIter | std::set_intersection (_IIter1, _IIter1, _IIter2, _IIter2, _OIter) |
template<typename _IIter1 , typename _IIter2 , typename _OIter , typename _Compare > | |
constexpr _OIter | std::set_intersection (_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare) |
template<typename _IIter1 , typename _IIter2 , typename _OIter > | |
constexpr _OIter | std::set_symmetric_difference (_IIter1, _IIter1, _IIter2, _IIter2, _OIter) |
template<typename _IIter1 , typename _IIter2 , typename _OIter , typename _Compare > | |
constexpr _OIter | std::set_symmetric_difference (_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare) |
template<typename _IIter1 , typename _IIter2 , typename _OIter > | |
constexpr _OIter | std::set_union (_IIter1, _IIter1, _IIter2, _IIter2, _OIter) |
template<typename _IIter1 , typename _IIter2 , typename _OIter , typename _Compare > | |
constexpr _OIter | std::set_union (_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare) |
template<typename _RAIter , typename _UGenerator > | |
void | std::shuffle (_RAIter, _RAIter, _UGenerator &&) |
template<typename _RAIter > | |
constexpr void | std::sort (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::sort (_RAIter, _RAIter, _Compare) |
template<typename _RAIter > | |
constexpr void | std::sort_heap (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
constexpr void | std::sort_heap (_RAIter, _RAIter, _Compare) |
template<typename _BIter , typename _Predicate > | |
_BIter | std::stable_partition (_BIter, _BIter, _Predicate) |
template<typename _RAIter > | |
void | std::stable_sort (_RAIter, _RAIter) |
template<typename _RAIter , typename _Compare > | |
void | std::stable_sort (_RAIter, _RAIter, _Compare) |
template<typename _FIter1 , typename _FIter2 > | |
constexpr _FIter2 | std::swap_ranges (_FIter1, _FIter1, _FIter2) |
template<typename _IIter , typename _OIter , typename _UnaryOperation > | |
constexpr _OIter | std::transform (_IIter, _IIter, _OIter, _UnaryOperation) |
template<typename _IIter1 , typename _IIter2 , typename _OIter , typename _BinaryOperation > | |
constexpr _OIter | std::transform (_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation) |
template<typename _FIter > | |
constexpr _FIter | std::unique (_FIter, _FIter) |
template<typename _FIter , typename _BinaryPredicate > | |
constexpr _FIter | std::unique (_FIter, _FIter, _BinaryPredicate) |
template<typename _IIter , typename _OIter > | |
constexpr _OIter | std::unique_copy (_IIter, _IIter, _OIter) |
template<typename _IIter , typename _OIter , typename _BinaryPredicate > | |
constexpr _OIter | std::unique_copy (_IIter, _IIter, _OIter, _BinaryPredicate) |
template<typename _FIter , typename _Tp > | |
constexpr _FIter | std::upper_bound (_FIter, _FIter, const _Tp &) |
template<typename _FIter , typename _Tp , typename _Compare > | |
constexpr _FIter | std::upper_bound (_FIter, _FIter, const _Tp &, _Compare) |
This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <algorithm>.
Definition in file bits/algorithmfwd.h.