From: Wolfgang Bangerth Date: Wed, 24 May 2023 02:28:19 +0000 (-0600) Subject: Add changelog entry. X-Git-Tag: v9.5.0-rc1~198^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be94811b57fd03f797c65faaac9a5a80f482379b;p=dealii.git Add changelog entry. --- diff --git a/doc/news/changes/incompatibilities/20230523Bangerth b/doc/news/changes/incompatibilities/20230523Bangerth new file mode 100644 index 0000000000..3453e7a324 --- /dev/null +++ b/doc/news/changes/incompatibilities/20230523Bangerth @@ -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. +
+(Wolfgang Bangerth, 2023/05/23)