Boost logo

Boost :

From: Csaba Szepesvari (cszepes_at_[hidden])
Date: 2003-05-13 16:34:35

> > - supporting the implementation of the pimpl idiom
> For this purpose I would like to see propagation of costness.

One would like to use strong_ptr<const A> or strong_ptr<A const> but this
won't work..:(
The non-polymorphic copy uses new T() and this does not compile.
Would need a way to derive the type "A" given "const A".
Using partial template specialization, this should be easy..
Without partial template specialization, I am not good enough at type
Any ideas?
Of course, as a last resort one can introduce a new type, e.g.

- Csaba

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