]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move the declaration of a base class to right before its child class. 13296/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 27 Jan 2022 00:16:07 +0000 (17:16 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 27 Jan 2022 00:16:07 +0000 (17:16 -0700)
include/deal.II/base/template_constraints.h

index 3d9673bf6dbe8375c211e76336048e1b1316fc0e..915732c0842fc087858c923bc3c9933810f3adc6 100644 (file)
@@ -36,10 +36,6 @@ namespace internal
     template <class...>
     using void_t = void;
 
-    // base class for nonesuch to inherit from so it is not an aggregate
-    struct nonesuch_base
-    {};
-
     // primary template handles all types not supporting the archetypal Op
     template <class Default,
               class /*AlwaysVoid*/,
@@ -61,6 +57,9 @@ namespace internal
     };
 
 
+    // base class for nonesuch to inherit from so it is not an aggregate
+    struct nonesuch_base
+    {};
 
     struct nonesuch : private nonesuch_base
     {

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.