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 » Critical feature - namespace
icon3.gif  Re: Critical feature - namespace [message #7271 is a reply to message #7217] Tue, 19 December 2006 23:28 Go to previous message
filipenf is currently offline  filipenf
Messages: 11
Registered: December 2006
Location: Brasil
Promising Member
A good way is to make this configurable by the user ( with a default )

In the begining of each file you could:

#ifdef UPP_NAMESPACE
namespace UPP_NAMESPACE {
#endif

... CODE ...

#ifdef UPP_NAMESPACE
}
#endif

And in some global include file this will be defined....

[Updated on: Tue, 19 December 2006 23:32]

Report message to a moderator

 
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message icon3.gif
Previous Topic: Experiments with Vector growth factor...
Next Topic: Database portability: Sqlite3
Goto Forum:
  


Current Time: Sun Jun 29 17:03:24 CEST 2025

Total time taken to generate the page: 0.02941 seconds