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 » namespace agnostic layouts refactored
namespace agnostic layouts refactored [message #58355] Sat, 07 May 2022 09:28 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
So this is about ability to use layouts without "using namespace Upp". In the past, I have tried to solve that issue in layout designer, adding Upp:: before typenames and stuff, only to forget something on each iteration.

Today I have got completely different idea:

https://github.com/ultimatepp/ultimatepp/commit/4f49f919a278 55c9dee0ad33ec0864aa18de7144

and actually reverted layout designer to previous mode (of course, retained the code for ignoring those now obolsete Upp:: texts).

Do you see any problem with this new approach? I have read somewhere that unnamed namespaces in headers are bad, but I think in this particular case it should be fine...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2022.1
Next Topic: 2022.2rc1
Goto Forum:
  


Current Time: Sat Apr 20 17:59:33 CEST 2024

Total time taken to generate the page: 0.02699 seconds