chore: use C++20 standard (#410)

As of now sdbus-c++ supports C++20 but does not require it, and the used C++20 features are conditionally compiled depending on whether they are available or not.
This commit is contained in:
Stanislav Angelovič
2024-04-24 20:20:29 +02:00
parent 29e94c3b68
commit 0dc0c87cc9
4 changed files with 27 additions and 19 deletions
+1
View File
@@ -264,4 +264,5 @@ v2.0.0
- Add method to get currently processed message also to `IConnection`
- `[[nodiscard]]` attribute has been added to relevant API methods.
- Add new `SDBUSCPP_SDBUS_LIB` CMake configuration variable determining which sd-bus library shall be picked
- Switch to C++20 standard (but C++20 is not required, and the used C++20 features are conditionally compiled)
- Other simplifications, improvements and fixes springing out from the above refactoring