|
Boost : |
From: Dave Abrahams (dave_at_[hidden])
Date: 2003-02-05 19:08:51
It just occurred to me that this trick only works when the underlying
pointer type is a real pointer. In other words, if smart_ptr is to be able
to provide array access, while wrapping arbitrary pointer-like types, an
operator[] is still required.
and-i'm-sure-this-will-be-a-*hugely*-important-use-case-ly y'rs,
dave
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk