]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Deprecate type 'identity'. 14964/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 23 Mar 2023 21:16:20 +0000 (15:16 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 23 Mar 2023 21:16:20 +0000 (15:16 -0600)
include/deal.II/base/template_constraints.h

index 3f5f3ae36b0c069edddf07f8ae1595cc3ad3942f..31e7f5a47f05ba1fd21d80228951f4c7aab5a1f1 100644 (file)
@@ -342,7 +342,7 @@ constexpr bool has_begin_and_end =
  * @deprecated Use `std_cxx20::identity_type` instead.
  */
 template <typename T>
-using identity = std_cxx20::type_identity<T>;
+using identity DEAL_II_DEPRECATED_EARLY = std_cxx20::type_identity<T>;
 
 
 /**

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.