]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use _v variables instead of ...::value. 18225/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Mar 2025 00:37:18 +0000 (18:37 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Mar 2025 03:30:19 +0000 (21:30 -0600)
include/deal.II/hp/fe_collection.h
include/deal.II/hp/mapping_collection.h

index 03dae2f2b246a8c1ee1dd77ee85a59b9bc924305..a43bbe78b4ff1adc7fa9eaf44646bee63ee53367 100644 (file)
@@ -151,11 +151,11 @@ namespace hp
      * clang-tidy).
      */
     FECollection(FECollection<dim, spacedim> &&) noexcept(
-      std::is_nothrow_move_constructible<
-        std::vector<std::shared_ptr<const FiniteElement<dim, spacedim>>>>::value
-        &&std::is_nothrow_move_constructible<std::function<
+      std::is_nothrow_move_constructible_v<
+        std::vector<std::shared_ptr<const FiniteElement<dim, spacedim>>>>
+        &&std::is_nothrow_move_constructible_v<std::function<
           unsigned int(const typename hp::FECollection<dim, spacedim> &,
-                       const unsigned int)>>::value) = default;
+                       const unsigned int)>>) = default;
 
     /**
      * Move assignment operator.
index c88fd9f1c68d459434edb3bbbd600e7810ec5d36..af4acc9906e4c564b1d9747a8950831c6ede9643 100644 (file)
@@ -95,11 +95,11 @@ namespace hp
      * clang-tidy).
      */
     MappingCollection(MappingCollection<dim, spacedim> &&) noexcept(
-      std::is_nothrow_move_constructible<
-        std::vector<std::shared_ptr<const Mapping<dim, spacedim>>>>::value
-        &&std::is_nothrow_move_constructible<std::function<
+      std::is_nothrow_move_constructible_v<
+        std::vector<std::shared_ptr<const Mapping<dim, spacedim>>>>
+        &&std::is_nothrow_move_constructible_v<std::function<
           unsigned int(const typename hp::MappingCollection<dim, spacedim> &,
-                       const unsigned int)>>::value) = default;
+                       const unsigned int)>>) = default;
 
     /**
      * Move assignment operator.

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.