From 12298bb4bd5bf477deb9efbe399fe8cd12f3829f Mon Sep 17 00:00:00 2001 From: Tim Niklas Uhl Date: Tue, 14 Jan 2025 08:55:05 +0100 Subject: [PATCH] Move named paramters to seperate namespace and re-export it to the kamping namespace. --- include/kamping/named_parameters.hpp | 5 +++++ .../kamping/named_parameters_detail/status_parameters.hpp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/include/kamping/named_parameters.hpp b/include/kamping/named_parameters.hpp index 255d093eb..60d319034 100644 --- a/include/kamping/named_parameters.hpp +++ b/include/kamping/named_parameters.hpp @@ -36,6 +36,8 @@ namespace internal { struct unused_tparam {}; } // namespace internal +namespace params { + //// @addtogroup kamping_named_parameters /// @{ @@ -1319,4 +1321,7 @@ inline auto send_recv_type_out(MPI_Datatype& send_recv_type) { MPI_Datatype>(send_recv_type); } /// @} + +} // namespace params +using namespace params; } // namespace kamping diff --git a/include/kamping/named_parameters_detail/status_parameters.hpp b/include/kamping/named_parameters_detail/status_parameters.hpp index 232a77a68..17c4d35c8 100644 --- a/include/kamping/named_parameters_detail/status_parameters.hpp +++ b/include/kamping/named_parameters_detail/status_parameters.hpp @@ -1,3 +1,4 @@ + // This file is part of KaMPIng. // // Copyright 2023-2024 The KaMPIng Authors @@ -20,6 +21,7 @@ #include "kamping/status.hpp" namespace kamping { +namespace params { /// @addtogroup kamping_mpi_utility /// @{ @@ -110,4 +112,6 @@ inline auto statuses_out() { } /// @} +} // namespace params +using namespace params; } // namespace kamping