Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-06-27 05:21:44

From: "Joe Gottman" <jgottman_at_[hidden]>
> >
> > And I still like &*p better than p.get() or mumble_ptr(p).
> >
> I don't. &*p has two disadvantages. The major one is that it is
> undefined if p.get() happens to be null. Also, it fails if the class that
> points to has operator& overloaded.

Programmers who overload unary operator& should be sentenced to writing
libraries that need to operate properly when fed such classes.

Boost list run by bdawes at, gregod at, cpdaniel at, john at