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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to