Boost logo

Boost :

From: John Nagle (nagle_at_[hidden])
Date: 2004-05-25 15:34:31


     Per-character operations, like "operator[]" and "operator+="
most need that optimization. If you have a "char_string<80>",
you should get the inline; if you have a "char_string_base&", you
have to go the virtual route. I'll clean that up a bit.

                                John Nagle
                                Team Overbot

Rob Stewart wrote:
> From: Martin <adrianm_at_[hidden]>
>
>>My only objection to an ABC is that all operations will be virtual and can not
>>be inlined.
>
>
> Only a small number of the functions need to be virtual. The
> rest can be built atop those and can be inlined. That means
> there will still be some virtual calls, but not everything needs
> to be virtual.
>


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