Boost logo

Boost :

Subject: Re: [boost] [flyweight] key value with objects not constructible from a key
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-11-12 17:21:05


On Wed, Nov 12, 2008 at 17:11, Michael Marcin <mike.marcin_at_[hidden]> wrote:
>
> But loaded_texture's can't share any state or be initialized with state
> other than the key.
>

But if you load a value one way, I'm not convinced that getting a
version that happens to have the same key but was loaded differently
is something that should be encouraged.

Why not just make your key more complex, since you need to pass all
the information needed to construct one when you retrieve one anyways?


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