Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » New release 2024 "alpha phase"
Re: New release 2024 "alpha phase" [message #60838 is a reply to message #60832] Wed, 18 September 2024 18:08 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Wed, 18 September 2024 05:49
Lance wrote on Tue, 17 September 2024 17:34

The current upp codebase works fine with std=c++20, except the warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] issue. This can be fixed without much effort and without affecting the aimed standard of c++17. I was wondering if you would consider accepting it if I make a pull request for that.


Nope, cannot do that with C++17. Requires [=, this], which is C++20 feature. And, frankly, while [=] capturing 'this' is perhaps confusing, everybody is used to it by now so to require longer code for the same thing is at this point is kind of pointless... But when we go C++20, we shall do it anyway. In 3 years...


Thank you for the feedback. At least it doesn't affect my using c++20. For now, I will just suppress the warnings.

We can predict moving to c++20 is going to be really smooth in the future. c++23 however will break many String interfaces. That's something we won't need to worry in like 6 years Laughing

[Updated on: Wed, 18 September 2024 18:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Flatpak 2023.2.1 hotfix release
Next Topic: Win32 openssl updated to 3.2.1 version
Goto Forum:
  


Current Time: Sun Jun 08 13:46:10 CEST 2025

Total time taken to generate the page: 0.05321 seconds