Boost logo

Boost :

From: Steven E. Harris (seh_at_[hidden])
Date: 2006-06-29 12:09:01

Joaquín Mª López Muñoz <joaquin_at_[hidden]> writes:

> The main difference is that flyweight<T> enforces that *every*
> flyweight object with the same value will have a pointer to the same
> internal representation.

Isn't this usually called "intern", at least when applied to strings?¹
I can see how "flyweight" captures the means of referring to the
interned object, but the essential facility here is the interning, not
the reference mechanism.


Steven E. Harris

Boost list run by bdawes at, gregod at, cpdaniel at, john at