Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-10-03 22:59:41


"Larry Evans" <jcampbell3_at_[hidden]> wrote in message
news:3D9CC940.3050609_at_prodigy.net...
> [...]
> I think its close to perfect if not perfect! This is better than
> Meyer's solution. Maybe Meyers didn't have
> a compiler that could specialize on `const T` and `T`.

What would be really cool is if one could inherit from ptr<T const> const,
but it's not allowed. I'd still like to know if VC6 can hack it. If not,
I'm afraid
it's academic (presuming we don't want to exclude the majority of the
potential user base). BTW, it's not my idea! It's Oliver Schoenborn's (or
whosever he got it from)...just in case there was any bit of confusion over
that.

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk