Boost logo

Boost :

From: Bohdan (warever_at_[hidden])
Date: 2002-09-24 10:10:35


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:00fa01c263ca$df18e710$1d00a8c0_at_pdimov2...
> From: "Bohdan" <warever_at_[hidden]>
>
> > Hmm ... , looks like my problem is too exotic :)
>
> No, it's not that exotic, the indirect iterator adaptor has the same
> problem. The answer to your original question is that yes, std/boost is
> lacking pointer_traits (or dereference_traits) (consider the feature
request
> acknowledged), and C++ is lacking typeof(*p).

"pointer_traits" can also contain various info about pointer behavior.
Like "is copiable", "is shared", "auto delete object" , "expensive
dereference" ( this one can be useful, when
dealing with OO Database smart pointers (odmg::d_Ref<>) ) ... Just ideas.


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