
31 May
2007
31 May
'07
5:27 p.m.
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).