]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Import std::ranges::iota_view instead
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 5 May 2020 04:50:10 +0000 (00:50 -0400)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 7 May 2020 12:42:44 +0000 (06:42 -0600)
include/deal.II/base/std_cxx20/iota_view.h

index 8c1e471943f7fa3024cc03b83730a155bf2cc212..2411706927dcc5115453db4d10adc2009c74b4dc 100644 (file)
@@ -30,8 +30,7 @@ namespace std_cxx20
   namespace ranges
   {
 #if defined __cpp_lib_ranges && __cpp_lib_ranges >= 201911
-    template <typename IncrementableType, typename BoundType>
-    using iota_view = std::ranges::iota_view<IncrementableType, BoundType>;
+    using std::ranges::iota_view;
 #else
     /**
      * A poor-man's implementation of std::ranges::iota_view using

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.