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 » Upp 612-dev2 released
Re: Upp 612-dev2 released [message #7337 is a reply to message #7333] Fri, 22 December 2006 22:31 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
luzr wrote on Fri, 22 December 2006 18:04



I am not sure I understand your point this time...

Obviously, without the using clause, you have to qualify all symbols from the Upp namespace.

Mirek


Same as with STL and boost. But when I use a define from Ultimate++ without the using clause the code won't compile.

In all defines, which can be used outside of the Upp namespace, like GUI_APP_MAIN in my case all symbols must be qualified with the Upp namespace. In this case everyone will have a choice either to use the using clause or to qualify qualify all symbols from the Upp namespace.

I personally prefer the second choice because it makes code more readable especially when you use many frameworks in one project.
 
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: Upp 612-dev2 delayed...
Next Topic: U++ in 2006 and Happy new year 2007
Goto Forum:
  


Current Time: Thu May 16 16:50:13 CEST 2024

Total time taken to generate the page: 0.02216 seconds