From: Daniel Arndt Date: Thu, 13 Jul 2023 12:38:05 +0000 (-0400) Subject: Remove deprecated std_cxx14 header files X-Git-Tag: relicensing~684^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cddfd7267228032552952032568d63d476aeafd8;p=dealii.git Remove deprecated std_cxx14 header files --- diff --git a/doc/doxygen/headers/c++.h b/doc/doxygen/headers/c++.h index 5f28776f7d..a6f607df7e 100644 --- a/doc/doxygen/headers/c++.h +++ b/doc/doxygen/headers/c++.h @@ -105,19 +105,6 @@ -/** - * Previously, deal.II did not require C++17 and provided implementations of some - * useful C++14 features in this namespace. Presently, as the library now requires - * C++14, usage of this namespace is deprecated. - * - * This namespace contains functions imported from `namespace std`. It - * used to be used in the same way as the std_cxx17 namespace. - */ -namespace std_cxx14 -{} - - - /** * Similarly, deal.II defined the C++17 library features it used before * requiring C++17 in this namespac. diff --git a/doc/news/changes/incompatibilities/20230713DanielArndt b/doc/news/changes/incompatibilities/20230713DanielArndt new file mode 100644 index 0000000000..d975a66b27 --- /dev/null +++ b/doc/news/changes/incompatibilities/20230713DanielArndt @@ -0,0 +1,7 @@ +Removed: The deprecated header files +- deal.II/base/std_cxx14/algorithm.h +- deal.II/base/std_cxx14/memory.h +- deal.II/base/std_cxx14/utility.h +have been removed. +
+(Daniel Arndt, 2023/07/13) diff --git a/include/deal.II/base/std_cxx14/algorithm.h b/include/deal.II/base/std_cxx14/algorithm.h deleted file mode 100644 index eb579c2eed..0000000000 --- a/include/deal.II/base/std_cxx14/algorithm.h +++ /dev/null @@ -1,37 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 - 2020 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- -#ifndef dealii_cxx14_algorithm_h -#define dealii_cxx14_algorithm_h - -#include - -DEAL_II_WARNING( - "This file is deprecated. Simply use the corresponding C++14 header .") - - - -#include - -DEAL_II_NAMESPACE_OPEN - -namespace std_cxx14 -{ - using std::max; - using std::min; -} // namespace std_cxx14 - -DEAL_II_NAMESPACE_CLOSE - -#endif // dealii_cxx14_algorithm_h diff --git a/include/deal.II/base/std_cxx14/memory.h b/include/deal.II/base/std_cxx14/memory.h deleted file mode 100644 index b1d1cd3a4a..0000000000 --- a/include/deal.II/base/std_cxx14/memory.h +++ /dev/null @@ -1,34 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 - 2020 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- -#ifndef dealii_cxx14_memory_h -#define dealii_cxx14_memory_h - -#include - -DEAL_II_WARNING( - "This file is deprecated. Simply use the corresponding C++14 header .") - -#include - -DEAL_II_NAMESPACE_OPEN - -namespace std_cxx14 -{ - using std::make_unique; -} // namespace std_cxx14 - -DEAL_II_NAMESPACE_CLOSE - -#endif // dealii_cxx14_memory_h diff --git a/include/deal.II/base/std_cxx14/utility.h b/include/deal.II/base/std_cxx14/utility.h deleted file mode 100644 index 8d4a466674..0000000000 --- a/include/deal.II/base/std_cxx14/utility.h +++ /dev/null @@ -1,36 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 - 2020 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- -#ifndef dealii_cxx14_utility_h -#define dealii_cxx14_utility_h - -#include - -DEAL_II_WARNING( - "This file is deprecated. Simply use the corresponding C++14 header .") - -#include - -DEAL_II_NAMESPACE_OPEN - -namespace std_cxx14 -{ - using std::index_sequence; - using std::index_sequence_for; - using std::make_index_sequence; -} // namespace std_cxx14 - -DEAL_II_NAMESPACE_CLOSE - -#endif // dealii_cxx14_memory_h