]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated std_cxx14 header files
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 13 Jul 2023 12:38:05 +0000 (08:38 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 13 Jul 2023 12:50:15 +0000 (08:50 -0400)
doc/doxygen/headers/c++.h
doc/news/changes/incompatibilities/20230713DanielArndt [new file with mode: 0644]
include/deal.II/base/std_cxx14/algorithm.h [deleted file]
include/deal.II/base/std_cxx14/memory.h [deleted file]
include/deal.II/base/std_cxx14/utility.h [deleted file]

index 5f28776f7d0793d5d32f9334f82666a9ffb82bde..a6f607df7e2945c20a86df3fa1f90d1e82f3e09b 100644 (file)
 
 
 
-/**
- * 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 (file)
index 0000000..d975a66
--- /dev/null
@@ -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.
+<br>
+(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 (file)
index eb579c2..0000000
+++ /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/base/config.h>
-
-DEAL_II_WARNING(
-  "This file is deprecated. Simply use the corresponding C++14 header <algorithm>.")
-
-
-
-#include <algorithm>
-
-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 (file)
index b1d1cd3..0000000
+++ /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/base/config.h>
-
-DEAL_II_WARNING(
-  "This file is deprecated. Simply use the corresponding C++14 header <memory>.")
-
-#include <memory>
-
-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 (file)
index 8d4a466..0000000
+++ /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/base/config.h>
-
-DEAL_II_WARNING(
-  "This file is deprecated. Simply use the corresponding C++14 header <utility>.")
-
-#include <utility>
-
-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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.