|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-18 23:37:47
----- Original Message -----
From: "David B. Held" <dheld_at_[hidden]>
> "David Abrahams" <david.abrahams_at_[hidden]> wrote in message
> news:042001c1e73a$bb35f700$6501a8c0_at_boostconsulting.com...
> > [...]
> > There are several versions of this already in boost.
> > boost/detail/select_type contains a version used in
> > iterator_adaptors.hpp. boost/pending/ct_if.hpp contains
> > a version much more like the one quoted.
>
> Ok, so which is the preferred one that I ought to include?
> It sounds like the /detail one is more centrally available,
> but that you prefer the iterator_adaptors version?
Read again; those are one and the same.
> Is the
> it_ad version going to end up someplace more central,
> or will we have to wait for something like MPL?
I think the latter. MPL uses an interface like ct_if.
> Also, do you have any workarounds for the
> ref_counted_mt class, offhand?
I've got very little of anything offhand.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk