Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-05-31 13:27:39


Hartmut Kaiser wrote:
> Peter,
>
> Your answer isn't very helpful. Do you mind elaborating?
>
> Regards Hartmut
>
>> Hartmut Kaiser wrote:
>>
>>> You need to add an explicit 'inline' specifier to any
>> function defined
>>> out of class but in a header, regardless if it's a templatized
>>> function or not.
>>
>> I don't think that this is true.

Templates do not need to be declared inline, unless one wants them inlined
(this is compiler and option dependent; some compilers honor the lack of
inline and refrain from inlining, others do not).


Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk