title: Give namespace to an existing library in C++
body: <p>Some library in C++ doesn't use namespace like stl does. Like ncurses, functions available there can be called without namespace. It has <code>move ()</code> function that can be accessed globally. And now, I'm taking <code>ncurses</code> library in my class file which will have <code>move</code> function as it's member function. If i write my class like this:</p>
  
  <pre><code>#include &lt;ncurses.h&gt;
  
  class MyClass {
      public:
          void move (int x, int y) {
              // moving
          }
          void do_something (int x, int y) {
              move (x, y);
              // do something
          }
  }
  </code></pre>
  
  <p>I don't know which <code>move ()</code> function will be called by <code>MyClass</code>. I think the problem will gone if can give <code>ncurses</code> library a namespace, so can use (for example) <code>ncurses::move ()</code> not just <code>move ()</code>. Is it possible to give it namespace? If not, what will you do if you find to something like this (not changing function name of course)?</p>