Boost logo

Boost :

Subject: Re: [boost] inline specifier within in class definition
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2009-05-05 15:59:25

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.


Thanks for the interesting insigths.

Best regards,

Mateusz Loskot,
Charter Member of OSGeo,

Boost list run by bdawes at, gregod at, cpdaniel at, john at