$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [flyweight] key value with objects not constructible from a key
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-11-12 21:27:11
Michael Marcin wrote:
> If texture has to be constructible from key then texture has to have
> direct access to file and image loading functionality. I can't pass any
> information other than the key to the construction site without
> resorting to singletons.
What's the problem with making your image loaders singletons? As far as
I can think, they're the perfect candidates.