|
Boost : |
Subject: Re: [boost] Is there a special reason to use inline before template functions?
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2008-12-08 12:12:04
Andrey Semashev wrote:
>
> I didn't look at the code, but if these member functions are declared in
> the class definition, they are already inline and this keyword is not
> needed.
Some compilers disable default inlining under certain configurations.
GCC has -fno-default-inline for instance. Some libraries might
explicitly put inline there to support these configurations.
-- Michael Marcin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk