Skip to content

Commit

Permalink
adapted lexicographical compare and added container overloads for lex…
Browse files Browse the repository at this point in the history
…icographical compare
  • Loading branch information
Jedi18 committed May 22, 2021
1 parent edb09d0 commit fdc30d6
Show file tree
Hide file tree
Showing 7 changed files with 832 additions and 102 deletions.
2 changes: 1 addition & 1 deletion docs/sphinx/api/public_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Functions
- :cpp:func:`hpx::is_partitioned`
- :cpp:func:`hpx::is_sorted`
- :cpp:func:`hpx::is_sorted_until`
- :cpp:func:`hpx::parallel::v1::lexicographical_compare`
- :cpp:func:`hpx::lexicographical_compare`
- :cpp:func:`hpx::make_heap`
- :cpp:func:`hpx::parallel::v1::max_element`
- :cpp:func:`hpx::merge`
Expand Down
3 changes: 1 addition & 2 deletions docs/sphinx/manual/writing_single_node_hpx_applications.rst
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Parallel algorithms
* Applies a function to a number of elements.
* ``<hpx/algorithm.hpp>``
* :cppreference-algorithm:`for_each_n`
* * :cpp:func:`hpx::parallel::v1::lexicographical_compare`
* * :cpp:func:`hpx::lexicographical_compare`
* Checks if a range of values is lexicographically less than another range of values.
* ``<hpx/algorithm.hpp>``
* :cppreference-algorithm:`lexicographical_compare`
Expand Down Expand Up @@ -1013,4 +1013,3 @@ function enables this use case::
without an explicit executor object. In this case the task will be run using the
executor associated with the execution policy that was used to call
:cpp:func:`hpx::parallel::v2::define_task_block`.

1 change: 0 additions & 1 deletion libs/full/include_local/include/hpx/local/algorithm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <hpx/parallel/container_algorithms.hpp>

namespace hpx {
using hpx::parallel::lexicographical_compare;
using hpx::parallel::max_element;
using hpx::parallel::min_element;
using hpx::parallel::minmax_element;
Expand Down
1 change: 1 addition & 0 deletions libs/parallelism/algorithms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ set(algorithms_headers
hpx/parallel/container_algorithms/is_heap.hpp
hpx/parallel/container_algorithms/is_partitioned.hpp
hpx/parallel/container_algorithms/is_sorted.hpp
hpx/parallel/container_algorithms/lexicographical_compare.hpp
hpx/parallel/container_algorithms/make_heap.hpp
hpx/parallel/container_algorithms/merge.hpp
hpx/parallel/container_algorithms/minmax.hpp
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <hpx/parallel/container_algorithms/is_heap.hpp>
#include <hpx/parallel/container_algorithms/is_partitioned.hpp>
#include <hpx/parallel/container_algorithms/is_sorted.hpp>
#include <hpx/parallel/container_algorithms/lexicographical_compare.hpp>
#include <hpx/parallel/container_algorithms/make_heap.hpp>
#include <hpx/parallel/container_algorithms/merge.hpp>
#include <hpx/parallel/container_algorithms/minmax.hpp>
Expand Down

Large diffs are not rendered by default.

0 comments on commit fdc30d6

Please sign in to comment.