Ray Gardener wrote:
> Yes, you're right; I forgot that this is an inline function anyway.
> Sigh... got so paranoid about template instantation bloat I've let it
> get the better of me. 
>
> Thanks,
> Ray
[snip]
Actually i do not believe there is any reason to worry about template
bloat these days. Improvements in the linker and compiler have come a
far way - to an extent that code from different templates will be
merged if the code is the same. This happens for e.g.
std::vector:

ush_back which is the same code for int and unsigned int.
So even if your code was not inline, most probably all instantations
would fold to the same code.
/Peter