|
| template<typename C , typename P = is_equal, typename = std ::enable_if_t<is_range<C>::value>> |
| auto && | unique (C &&container, P &&pred={}) |
| | Remove all but first successive values which are equals. More...
|
| |
| template<typename P = is_equal, typename = std ::enable_if_t<not is_range<P>::value>> |
| auto | unique (P &&pred={}) |
| | Remove all but first successuve values which are equals. More...
|
| |
| template<typename C , typename P > |
| auto && | remove_if (C &&container, P &&pred) |
| | Keep only elements for which pred(elt) is false
. More...
|
| |
| template<typename P > |
| auto | remove_if (P &&pred) |
| | Keep only elements for which pred(elt) is false
. More...
|
| |
| template<typename C , typename P = is_lesser, typename = std ::enable_if_t<is_range<C>::value>> |
| auto && | sort (C &&container, P &&pred={}) |
| | Sort a range in place, using the given predicate. More...
|
| |
| template<typename P = is_lesser, typename = std ::enable_if_t<not is_range<P>::value>> |
| auto | sort (P &&pred={}) |
| | Sort a range in place, using the given predicate. More...
|
| |
| template<typename C , typename URBG > |
| auto && | shuffle (C &&container, URBG &&g) |
| | Reorders the elements in the given range such that each possible permutation of those elements has equal probability of appearance. More...
|
| |
| template<typename URBG > |
| auto | shuffle (URBG &&g) |
| | Reorders the elements in the given range such that each possible permutation of those elements has equal probability of appearance. More...
|
| |
| template<typename R1 , typename V > |
| auto | fill (R1 &&in, V &&value) |
| | Assigns the given value to the elements in the range [first, last) More...
|
| |
| template<typename V > |
| auto | fill (V &&value) |
| | Assigns the given value to the elements in the range [first, last) More...
|
| |
| template<typename C , typename V > |
| auto && | remove (C &&container, V &&value) |
| | Keep only elements not equal to value. More...
|
| |
| template<typename V > |
| auto | remove (V &&value) |
| | Keep only elements not equal to value. More...
|
| |