Boost logo

Boost :

From: David Abrahams (root) (abrahams_at_[hidden])
Date: 2000-01-07 16:22:56


jsiek_at_[hidden] wrote:
>
> Andy Glew writes:
> > So can we not specialize, then:
> >
> > template<class T>
> > class mutex< shared_ptr<T> > : public shared_ptr<T> {
> > public:
> > ....
> > };
> >
> > No, you're right... G++ fails this.
>
> Is this a bug in g++? Looks like it to me.

This is a simple partial specialization, which g++-2.95.2 should handle.
I'm surprised at this report.

-Dave


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