Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding uninitialized_value_construct and uninitialized_value_construct_n #2671

Merged
merged 2 commits into from
Jun 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/transform_reduce_binary.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_copy.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_fill.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"
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/generate.hpp"
Expand Down
4 changes: 4 additions & 0 deletions docs/hpx.idx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ parallel::uninitialized_copy_n "uninitialized_copy_n" "hpx\.parallel\.v1\
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_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.*"

# hpx/runtime/components/colocating_distribution_policy.hpp
colocating_distribution_policy "" "hpx\.components\.colocating_distri_id.*"
colocated "" "hpx\.components\.colocated.*"
Expand Down
10 changes: 10 additions & 0 deletions docs/manual/parallel_algorithms.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,16 @@ __hpx__ provides implementations of the following parallel algorithms:
[`<hpx/include/parallel_uninitialized_fill.hpp>`]
[[cpprefmemdocs uninitialized_fill_n]]
]
[[ [algoref uninitialized_value_construct] ]
[Constructs objects in an uninitialized area of memory.]
[`<hpx/include/parallel_uninitialized_value_construct.hpp>`]
[[cpprefmemdocs uninitialized_value_construct]]
]
[[ [algoref uninitialized_value_construct_n] ]
[Constructs objects in an uninitialized area of memory.]
[`<hpx/include/uninitialized_value_construct.hpp>`]
[[cpprefmemdocs uninitialized_value_construct_n]]
]
]

[table Index-based for-loops (In Header: `<hpx/include/parallel_algorithm.hpp>`)
Expand Down
12 changes: 12 additions & 0 deletions hpx/include/parallel_uninitialized_value_construct.hpp
Original file line number Diff line number Diff line change
@@ -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_VALUE_CONSTRUCT_JUN_01_2017_11258PM)
#define HPX_PARALLEL_UNINITIALIZED_VALUE_CONSTRUCT_JUN_01_2017_11258PM

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

#endif

Loading