What's the difference between these two declarations?
class foo
{
public:
static void bar();
};
and
namespace foo
{
void bar();
}
The way I see it, there is none, since bar in class foo doesn't have access to this, and neither does bar in namespace foo.
This is purely theoretical, of course.