Skip to content

Commit

Permalink
Merge pull request #2664 from STEllAR-GROUP/uninitialized_move
Browse files Browse the repository at this point in the history
Adding uninitialized_move and uninitialized_move_n
  • Loading branch information
hkaiser committed Jun 9, 2017
2 parents b93abd7 + e235fde commit b9574d6
Show file tree
Hide file tree
Showing 10 changed files with 1,269 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/CMakeLists.txt
Expand Up @@ -103,6 +103,7 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_copy.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_default_construct.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_fill.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_move.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_value_construct.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/copy.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/for_each.hpp"
Expand Down
6 changes: 5 additions & 1 deletion docs/hpx.idx
@@ -1,4 +1,4 @@
# Copyright (c) 2001-2016 Hartmut Kaiser
# Copyright (c) 2001-2017 Hartmut Kaiser
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Expand Down Expand Up @@ -331,6 +331,10 @@ parallel::uninitialized_default_construct_n "uninitialized_default_construct_n"
parallel::uninitialized_fill "uninitialized_fill" "hpx\.parallel\.v1\.uninitialized_fill$"
parallel::uninitialized_fill_n "uninitialized_fill_n" "hpx\.parallel\.v1\.uninitialized_fill_n.*"

# hpx/parallel/algorithms/uninitialized_move.hpp
parallel::uninitialized_move "uninitialized_move" "hpx\.parallel\.v1\.uninitialized_move$"
parallel::uninitialized_move_n "uninitialized_move_n" "hpx\.parallel\.v1\.uninitialized_move_n.*"

# hpx/parallel/algorithms/uninitialized_value_construct.hpp
parallel::uninitialized_value_construct "uninitialized_value_construct" "hpx\.parallel\.v1\.uninitialized_value_construct$"
parallel::uninitialized_value_construct_n "uninitialized_value_construct_n" "hpx\.parallel\.v1\.uninitialized_val_id.*"
Expand Down
10 changes: 10 additions & 0 deletions docs/manual/parallel_algorithms.qbk
Expand Up @@ -492,6 +492,16 @@ __hpx__ provides implementations of the following parallel algorithms:
[`<hpx/include/parallel_uninitialized_fill.hpp>`]
[[cpprefmemdocs uninitialized_fill_n]]
]
[[ [algoref uninitialized_move] ]
[Moves a range of objects to an uninitialized area of memory.]
[`<hpx/include/parallel_uninitialized_move.hpp>`]
[[cpprefmemdocs uninitialized_move]]
]
[[ [algoref uninitialized_move_n] ]
[Moves a number of objects to an uninitialized area of memory.]
[`<hpx/include/parallel_uninitialized_move.hpp>`]
[[cpprefmemdocs uninitialized_move_n]]
]
[[ [algoref uninitialized_value_construct] ]
[Constructs objects in an uninitialized area of memory.]
[`<hpx/include/parallel_uninitialized_value_construct.hpp>`]
Expand Down
12 changes: 12 additions & 0 deletions hpx/include/parallel_uninitialized_move.hpp
@@ -0,0 +1,12 @@
// Copyright (c) 2007-2017 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#if !defined(HPX_PARALLEL_UNINITIALIZED_MOVE_MAY_30_2017_0844AM)
#define HPX_PARALLEL_UNINITIALIZED_MOVE_MAY_30_2017_0844AM

#include <hpx/parallel/algorithms/uninitialized_move.hpp>

#endif

0 comments on commit b9574d6

Please sign in to comment.