Hey all,

What style of using namespaces can you recommend in Wt applications?

E.g., main.cpp:

1)
using namespace Wt;

// code ...

2)
namespace My_space {
  using Wt::WApplication;
  using Wt::WEnvironment;
}

using namespace My_space;

// code...

3)
namespace My_space {
  class Wt::WApplication;
  class Wt::WEnvironment;
}

Or is it a matter of taste? :)

Regards,
Dmitriy Igrishin
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to