I am quite new to c++ and since starting have noticed on a few occasions functions with arguments identifiers apparently "commented out". I haven't had any real problems, but I was wondering if it meant anything in particular.
For example, in a function to repaint an object from an example in the QT toolkit (this function is an overridden protected from its parent class).
Why is it not?:Code:void paintEvent(QPaintEvent * /* event */) { .... }
So, is there any relevance of "/*event */" rather than just "event" here?Code:void paintEvent(QPaintEvent * event) { .... }