Skip to content

Commit 8917808

Browse files
committed
Adapting HPX modules of levels 19, 20, 21, and 22 to C++ modules
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
1 parent e82fc67 commit 8917808

626 files changed

Lines changed: 1915 additions & 1958 deletions

File tree

Some content is hidden

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

components/component_storage/include/hpx/components/component_storage/component_storage.hpp

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

99
#include <hpx/config.hpp>
1010
#include <hpx/components/client_base.hpp>
11-
#include <hpx/futures/future.hpp>
11+
#include <hpx/modules/futures.hpp>
1212
#include <hpx/modules/async_base.hpp>
1313
#include <hpx/naming_base/address.hpp>
1414
#include <hpx/naming_base/id_type.hpp>
@@ -18,6 +18,8 @@
1818
#include <cstddef>
1919
#include <vector>
2020

21+
#include <hpx/config/warnings_prefix.hpp>
22+
2123
namespace hpx { namespace components {
2224
///////////////////////////////////////////////////////////////////////////
2325
class HPX_MIGRATE_TO_STORAGE_EXPORT component_storage
@@ -45,3 +47,5 @@ namespace hpx { namespace components {
4547
std::size_t size(launch::sync_policy) const;
4648
};
4749
}} // namespace hpx::components
50+
51+
#include <hpx/config/warnings_suffix.hpp>

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

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

1111
#include <hpx/config.hpp>
1212
#include <hpx/components_base/traits/is_component.hpp>
13-
#include <hpx/futures/future.hpp>
13+
#include <hpx/modules/futures.hpp>
1414
#include <hpx/naming_base/id_type.hpp>
1515

1616
#include <hpx/components/component_storage/server/migrate_from_storage.hpp>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <hpx/config.hpp>
1212
#include <hpx/components/client_base.hpp>
1313
#include <hpx/components_base/traits/is_component.hpp>
14-
#include <hpx/futures/future.hpp>
14+
#include <hpx/modules/futures.hpp>
1515
#include <hpx/naming_base/id_type.hpp>
1616

1717
#include <hpx/components/component_storage/component_storage.hpp>

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
#include <hpx/actions_base/basic_action.hpp>
1212
#include <hpx/actions_base/component_action.hpp>
1313
#include <hpx/async_distributed/transfer_continuation_action.hpp>
14+
#include <hpx/modules/synchronization.hpp>
1415
#include <hpx/naming_base/address.hpp>
1516
#include <hpx/naming_base/id_type.hpp>
16-
#include <hpx/synchronization/spinlock.hpp>
17-
18-
#include <hpx/components/containers/unordered/unordered_map.hpp>
1917

2018
#include <hpx/components/component_storage/export_definitions.hpp>
19+
#include <hpx/components/containers/unordered/unordered_map.hpp>
2120

2221
#include <cstddef>
2322
#include <vector>
2423

24+
#include <hpx/config/warnings_prefix.hpp>
25+
2526
///////////////////////////////////////////////////////////////////////////////
2627
namespace hpx::components::server {
2728

@@ -51,6 +52,8 @@ namespace hpx::components::server {
5152
};
5253
} // namespace hpx::components::server
5354

55+
#include <hpx/config/warnings_suffix.hpp>
56+
5457
HPX_REGISTER_ACTION_DECLARATION(
5558
hpx::components::server::component_storage::migrate_to_here_action,
5659
component_storage_migrate_component_to_here_action)

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
@@ -12,11 +12,11 @@
1212
#include <hpx/config.hpp>
1313
#include <hpx/actions_base/traits/is_distribution_policy.hpp>
1414
#include <hpx/assert.hpp>
15-
#include <hpx/async_combinators/when_all.hpp>
1615
#include <hpx/components/client_base.hpp>
1716
#include <hpx/distribution_policies/container_distribution_policy.hpp>
1817
#include <hpx/distribution_policies/explicit_container_distribution_policy.hpp>
1918
#include <hpx/modules/async_base.hpp>
19+
#include <hpx/modules/async_combinators.hpp>
2020
#include <hpx/modules/functional.hpp>
2121
#include <hpx/modules/type_support.hpp>
2222
#include <hpx/runtime_components/distributed_metadata_base.hpp>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
#include <hpx/config.hpp>
1111
#include <hpx/actions_base/traits/is_distribution_policy.hpp>
1212
#include <hpx/assert.hpp>
13-
#include <hpx/async_combinators/wait_all.hpp>
1413
#include <hpx/components/get_ptr.hpp>
1514
#include <hpx/distribution_policies/container_distribution_policy.hpp>
1615
#include <hpx/distribution_policies/explicit_container_distribution_policy.hpp>
1716
#include <hpx/modules/async_base.hpp>
17+
#include <hpx/modules/async_combinators.hpp>
1818
#include <hpx/modules/async_distributed.hpp>
1919
#include <hpx/modules/errors.hpp>
2020
#include <hpx/modules/execution.hpp>

components/containers/partitioned_vector/src/partitioned_vector_component_double.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ HPX_REGISTER_PARTITIONED_VECTOR(double)
2525
#pragma warning(disable : 5037)
2626
#endif
2727

28+
#include <hpx/config/warnings_prefix.hpp>
29+
2830
template class HPX_PARTITIONED_VECTOR_EXPORT
2931
hpx::server::partitioned_vector<double, std::vector<double>>;
3032
template class HPX_PARTITIONED_VECTOR_EXPORT

components/containers/partitioned_vector/src/partitioned_vector_component_int.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ HPX_REGISTER_PARTITIONED_VECTOR(long_long)
2727
#pragma warning(disable : 5037)
2828
#endif
2929

30+
#include <hpx/config/warnings_prefix.hpp>
31+
3032
template class HPX_PARTITIONED_VECTOR_EXPORT
3133
hpx::server::partitioned_vector<int, std::vector<int>>;
3234
template class HPX_PARTITIONED_VECTOR_EXPORT

components/containers/partitioned_vector/src/partitioned_vector_component_std_string.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ HPX_REGISTER_PARTITIONED_VECTOR(std_string)
2828
#pragma warning(disable : 5037)
2929
#endif
3030

31+
#include <hpx/config/warnings_prefix.hpp>
32+
3133
template class HPX_PARTITIONED_VECTOR_EXPORT
3234
hpx::server::partitioned_vector<std::string, std::vector<std::string>>;
3335
template class HPX_PARTITIONED_VECTOR_EXPORT

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
@@ -11,11 +11,11 @@
1111
#include <hpx/config.hpp>
1212
#include <hpx/actions_base/traits/is_distribution_policy.hpp>
1313
#include <hpx/assert.hpp>
14-
#include <hpx/async_combinators/wait_all.hpp>
1514
#include <hpx/components/client_base.hpp>
1615
#include <hpx/components/get_ptr.hpp>
1716
#include <hpx/components_base/component_type.hpp>
1817
#include <hpx/distribution_policies/container_distribution_policy.hpp>
18+
#include <hpx/modules/async_combinators.hpp>
1919
#include <hpx/modules/functional.hpp>
2020
#include <hpx/modules/serialization.hpp>
2121
#include <hpx/modules/type_support.hpp>

0 commit comments

Comments
 (0)