Boost logo

Boost Users :

From: me22 (me22.ca_at_[hidden])
Date: 2007-06-06 22:36:45


On 06/06/07, Bill Buklis <boostuser_at_[hidden]> wrote:
> How can this be done for non-pointer types? I'm thinking that in addition to
> a "get" type function which simply returns data, I could use operator* to
> return the underlying data for all types. Pointers dereference, while
> non-pointers return itself.
>
> Of course, the real question is would this even be a good thing to do?
>
I don't really know what you're doing, but inconsistency is at the
very least a code smell.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net