Boost logo

Boost :

From: Martin (adrianm_at_[hidden])
Date: 2004-05-25 13:59:54


> The base class actually has the full basic_string interface (minus the
> constructors). It exposes 14 virtual functions that are implemented by
> fixed_string (allowing the proper implementation to be called).

Must have missed that, sorry.

My only objection to an ABC is that all operations will be virtual and can not
be inlined.

> >use of the "struct hack" as a performance option. e.g.
> >
> This is interesting. Does it have any specific advantages over the two
> implementations?

Only performance since all operations can be inlined without the need for an
extra pointer.


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