|
Boost : |
From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2001-11-20 14:20:41
Andrei Alexandrescu wrote:
> But it would not be elegant at all if Loki as part
> of boost would define and use facilities similar to boost's.
Yes, it would be undesirable, and there is no point in such duplication.
> If anyone has ideas on how to proceed, please let me know.
1) reuse where possible;
2) discuss/propose changes to the already existing boost components if they
provide close enough, but not exactly the same functionality as you
need/want, or if you believe that a better approach/solution exists;
3) if you believe that there are things in Loki that are unique, and yet fit
nicely into any of the existing boost libraries, propose them as the
extensions;
4) integrate with boost::mpl :)
5) anything else put either into boost::loki namespace, a domain-specific
namespace (e.g. boost::memory for small-object allocator?), or just simple
'boost'.
> I am looking forward to hear about better solutions.
Take a look at the mpl approach.
Aleksey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk