Say I had
Code:
using namespace algo {
  int func() { return 5; }
};
and
Code:
class algo {
public:
  static int func() { return 5; }
};
Is there any difference? The only one I can find is that you can declare all the members of a class friends where you can't with namespaces.