]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add changelog entry. 15195/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 24 May 2023 02:28:19 +0000 (20:28 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 24 May 2023 02:28:19 +0000 (20:28 -0600)
doc/news/changes/incompatibilities/20230523Bangerth [new file with mode: 0644]

diff --git a/doc/news/changes/incompatibilities/20230523Bangerth b/doc/news/changes/incompatibilities/20230523Bangerth
new file mode 100644 (file)
index 0000000..3453e7a
--- /dev/null
@@ -0,0 +1,11 @@
+Deprecated: All vector classes had member functions called `import()`
+to copy elements from a source into the current vector. Unfortunately,
+`import` is a 
+[keyword (of sorts) in C++20](https://en.cppreference.com/w/cpp/keyword/import). 
+While not strictly necessary because we do not use the name in a
+context where it would be recognized as a keyword, it is useful to
+avoid the name nonetheless, if only to avoid confusing readers and
+IDEs. As a consequence, these functions have been renamed to
+`import_elements()`. The old name remains for now, but is deprecated.
+<br>
+(Wolfgang Bangerth, 2023/05/23)

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.