Does it make sense to have some class member function say f() both private and static? e.g.
class MyClass
{
...
private:
static int foo();
}
Thanks.
Hi thanks for all your comments! Ok, I got it. Yes, indeed initially I started using static functions in my class because they were not related to the objects of my class- were doing some other operations. Now I also realized they needn't be public. So, I think I'll leave them like this. I started to get some errors when I removed static keyword (apparently due to the way it was used throughout class, so I am lazy now to fix those, will just make it private and leave static :)).