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 » Developing U++ » U++ Developers corner » using namespace Upp; in header files
Re: using namespace Upp; in header files [message #52783 is a reply to message #52780] Sun, 24 November 2019 20:13 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1106
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Koldo,

I would like to add one thing - it's OK to use "using namespace Upp" or any other namespace in *.cpp files. It only affects the header file when after including the "using namespace" is inherited. So, the change with replace "using namespace Upp" in *.cpp files in Scatter was not needed and doesn't change anything. I think for *.cpp file this statement is more comfortable than "namespace Upp {" and then at the end you need to remember to add "}".

Sincerely,
Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDB debugger support of U++ types, GBD prettyprinter anybody?
Next Topic: lld / windres
Goto Forum:
  


Current Time: Sat Aug 30 05:47:29 CEST 2025

Total time taken to generate the page: 0.03931 seconds