defining bunch of static methods in c++
<p>Which is appropriate:</p>

<pre><code>class xyz {
  static int xyzOp1() { }
  static int xyzOp2() { }
};
</code></pre>

<p>OR</p>

<pre><code>namespace xyz {
  static int xyzOp1() {}
  static int xyzOp2() {}
};
</code></pre>

<p>Is there something specific which we can get when we define using class tag in comparision with namespace tag?</p>

<p>Also is there any different in memory management, which we need to worry?</p>
