$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David B. Held (dheld_at_[hidden])
Date: 2002-10-03 17:00:08
"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?
Dave