|
Boost : |
From: Yitzhak Sapir (yitzhaks_at_[hidden])
Date: 2002-05-23 11:47:57
> There's also a technical reason. If raw pointers are
> supported, smart pointers
> of all shapes and kinds should also be supported. So we
> either need more
> traits (e.g., pointer_traits) to determine if an arbitrary
> type is a pointer
> vs. a function object, and eventually it's so much work for
> the user that she
> might as well just write ref(*this).
That makes sense. Thanks.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk