|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-18 19:39:55
----- Original Message -----
From: "David B. Held" <dheld_at_[hidden]>
> "Giovanni Bajo" <giovannibajo_at_[hidden]> wrote in message
> news:25e301c1e730$497538b0$8a4e2a97_at_bagio...
> > [...]
> > This works without PTS.
>
> Excellent. I'll add it to the file.
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.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk