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
Critical feature - namespace [message #7209] Mon, 18 December 2006 14:56 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, I have came to conclusion that we should finally add namespaces.

I have to apologize it took so long - in fact, there was a very little need to do so so far. But I am afraid longer it takes, more people will be angry on us...

So please comment the plan:

- namespace will be "Upp" (alternatives: "upp", "UPP", "ultimatepp", "Ulitmatepp").

- there will be NONAMESPACE config flag, but default will be "use namespace"

- I will do it today Smile

Mirek
icon14.gif  Re: Critical feature - namespace [message #7210 is a reply to message #7209] Mon, 18 December 2006 15:13 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
better now then later, else more and more will get angry ...

Bas
Re: Critical feature - namespace [message #7212 is a reply to message #7209] Mon, 18 December 2006 16:08 Go to previous messageGo to next message
Ulti is currently offline  Ulti
Messages: 108
Registered: September 2006
Experienced Member
luzr wrote on Mon, 18 December 2006 08:56



- namespace will be "Upp" (alternatives: "upp", "UPP", "ultimatepp", "Ulitmatepp").
Mirek

prefer upp,it's simple for typing.
Razz

[Updated on: Mon, 18 December 2006 16:09]

Report message to a moderator

Re: Critical feature - namespace [message #7214 is a reply to message #7212] Mon, 18 December 2006 16:54 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ulti wrote on Mon, 18 December 2006 10:08

luzr wrote on Mon, 18 December 2006 08:56



- namespace will be "Upp" (alternatives: "upp", "UPP", "ultimatepp", "Ulitmatepp").
Mirek

prefer upp,it's simple for typing.
Razz


Actually, I do not expect that users will have to type that too often... Smile

Mirek
Re: Critical feature - namespace [message #7217 is a reply to message #7209] Mon, 18 December 2006 18:28 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 697
Registered: December 2005
Location: Budapest, Hungary
Contributor
Very, very, very good news Mirek! Thanks a lot!
I would prefer upp.
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

Previous Topic: Experiments with Vector growth factor...
Next Topic: Database portability: Sqlite3
Goto Forum:
  


Current Time: Thu Apr 25 15:16:35 CEST 2024

Total time taken to generate the page: 0.03309 seconds