Home » Developing U++ » U++ Developers corner » Critical feature - namespace
|
|
|
|
|
Re: Critical feature - namespace [message #7271 is a reply to message #7217] |
Tue, 19 December 2006 23:28 |
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
|
|
|
Goto Forum:
Current Time: Sat May 11 13:21:07 CEST 2024
Total time taken to generate the page: 0.01816 seconds
|