From be94811b57fd03f797c65faaac9a5a80f482379b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 23 May 2023 20:28:19 -0600 Subject: [PATCH] Add changelog entry. --- doc/news/changes/incompatibilities/20230523Bangerth | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/news/changes/incompatibilities/20230523Bangerth 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) -- 2.39.5