
Olivier Grant wrote:
To give my little point of view regarding Mateusz Loskot's question, I actually think the inline keyword is sometimes found qualifying the definition of in-class member functions (static or not) as the combinated result of using the inline keyword when required to specify a function as inline and the fact that most, if not all, compilers do not emit any type of message regarding the uselessness of the keyword for in-class definitions. Add to that the fact that some very old compilers (such as VC6) probably required the inline keyword even for function defined in-class (but this is just a guess), and you could have the beginning of an explanation.
Oliver, Thanks for the interesting insigths. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org