Skip to content

Commit 86348bd

Browse files
committed
Adapting HPX module functional to C++ modules
Signed-off-by: Hartmut Kaiser <[email protected]>
1 parent 3973f94 commit 86348bd

File tree

352 files changed

+669
-735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

352 files changed

+669
-735
lines changed

cmake/HPX_AddComponent.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function(add_hpx_component name)
313313
# special preprocessor constant preventing the code from trying to use the
314314
# module interface unit exposed from the HPX libraries
315315
if(HPX_WITH_CXX_MODULES)
316-
if(NOT (CMAKE_CXX_SCAN_FOR_MODULES OR ${name}_SCAN_FOR_MODULES))
316+
if((NOT CMAKE_CXX_SCAN_FOR_MODULES) AND (NOT ${name}_SCAN_FOR_MODULES))
317317
set(${name}_SCAN_FOR_MODULES OFF)
318318
else()
319319
set(${name}_SCAN_FOR_MODULES ON)

components/component_storage/include/hpx/components/component_storage/server/migrate_from_storage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <hpx/config.hpp>
1010
#include <hpx/components_base/traits/component_pin_support.hpp>
1111
#include <hpx/components_base/traits/component_supports_migration.hpp>
12-
#include <hpx/functional/bind_back.hpp>
12+
#include <hpx/modules/functional.hpp>
1313
#include <hpx/modules/errors.hpp>
1414
#include <hpx/naming_base/address.hpp>
1515
#include <hpx/naming_base/id_type.hpp>

components/component_storage/include/hpx/components/component_storage/server/migrate_to_storage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <hpx/config.hpp>
1010
#include <hpx/assert.hpp>
11-
#include <hpx/functional/bind_back.hpp>
11+
#include <hpx/modules/functional.hpp>
1212
#include <hpx/modules/errors.hpp>
1313
#include <hpx/naming_base/address.hpp>
1414
#include <hpx/naming_base/id_type.hpp>

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_decl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <hpx/components/client_base.hpp>
1818
#include <hpx/distribution_policies/container_distribution_policy.hpp>
1919
#include <hpx/distribution_policies/explicit_container_distribution_policy.hpp>
20-
#include <hpx/functional/reference_wrapper.hpp>
20+
#include <hpx/modules/functional.hpp>
2121
#include <hpx/modules/type_support.hpp>
2222
#include <hpx/runtime_components/distributed_metadata_base.hpp>
2323
#include <hpx/runtime_components/new.hpp>

components/containers/unordered/include/hpx/components/containers/unordered/unordered_map.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <hpx/components/get_ptr.hpp>
1717
#include <hpx/components_base/component_type.hpp>
1818
#include <hpx/distribution_policies/container_distribution_policy.hpp>
19-
#include <hpx/functional/bind_front.hpp>
19+
#include <hpx/modules/functional.hpp>
2020
#include <hpx/modules/serialization.hpp>
2121
#include <hpx/modules/type_support.hpp>
2222
#include <hpx/runtime_components/distributed_metadata_base.hpp>

components/iostreams/include/hpx/components/iostreams/write_functions.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#pragma once
1010

1111
#include <hpx/config.hpp>
12-
#include <hpx/functional/bind_back.hpp>
13-
#include <hpx/functional/function.hpp>
12+
#include <hpx/modules/functional.hpp>
13+
#include <hpx/modules/functional.hpp>
1414

1515
#include <algorithm>
1616
#include <deque>

components/iostreams/src/component_module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <hpx/components_base/component_startup_shutdown.hpp>
1212
#include <hpx/components_base/component_type.hpp>
1313
#include <hpx/components_base/server/component.hpp>
14-
#include <hpx/functional/function.hpp>
14+
#include <hpx/modules/functional.hpp>
1515
#include <hpx/runtime_components/component_factory.hpp>
1616
#include <hpx/runtime_local/shutdown_function.hpp>
1717
#include <hpx/runtime_local/startup_function.hpp>

components/iostreams/src/server/output_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
////////////////////////////////////////////////////////////////////////////////
88

99
#include <hpx/config.hpp>
10-
#include <hpx/functional/bind_front.hpp>
10+
#include <hpx/modules/functional.hpp>
1111

1212
#include <hpx/modules/serialization.hpp>
1313
#include <hpx/runtime_distributed/runtime_fwd.hpp>

components/iostreams/src/standard_streams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <hpx/components_base/agas_interface.hpp>
1313
#include <hpx/components_base/server/component.hpp>
1414
#include <hpx/components_base/server/create_component.hpp>
15-
#include <hpx/functional/bind_back.hpp>
15+
#include <hpx/modules/functional.hpp>
1616
#include <hpx/modules/errors.hpp>
1717
#include <hpx/modules/execution.hpp>
1818
#include <hpx/runtime_distributed/runtime_fwd.hpp>

components/performance_counters/io/src/io_counters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include <hpx/config.hpp>
99
#include <hpx/components_base/component_startup_shutdown.hpp>
10-
#include <hpx/functional/function.hpp>
10+
#include <hpx/modules/functional.hpp>
1111
#include <hpx/modules/format.hpp>
1212
#include <hpx/performance_counters/manage_counter_type.hpp>
1313
#include <hpx/runtime_configuration/component_factory_base.hpp>

0 commit comments

Comments
 (0)