|
Boost : |
From: Schoenborn, Oliver (Oliver.Schoenborn_at_[hidden])
Date: 2002-10-04 07:59:20
> "Schoenborn, Oliver" <Oliver.Schoenborn_at_[hidden]> wrote in message
> news:35C5DD9F60FED21192B00004ACA6E6C70151C87F_at_nrclonex1.imti.nrc.ca...
> > [...]
> > template <typename T>
> > class smart_ptr;
> >
> > template <typename T>
> > class smart_ptr<const T> { /*...stuff...*/ };
> >
> > template <typename T>
> > class smart_ptr : smart_ptr<const T> {
> > public:
> > const smart_ptr<const T>& ofConst() const
> > {
> > return *this;
> > }
> > };
> > [...]
>
> Does this work on VC6, or can it be made to work?
Haven't tried, don't have easy access right now. One way of knowing would be
to download mango-ptr and compile the tests under VC6 but as I mentioned, I
haven't tried it so I don't know how involved it would be to do that.
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk