In C++ using void in a function with no parameter, for example:
class WinMessage
{
public:
BOOL Translate(void);
};
is redunda
I feel like no. Reasons:
BOOL Translate() form, so others reading your code will be more comfortable and productive with it.foo(void) mean?"