From: Baptiste Lepilleur (blepctc_at_[hidden])
Date: 2003-05-23 02:01:26
The compiler complains about an ambiguity between operator int() and
operator bool() when we try to use bool conversion. Removing the operator
int() declaration solved the ambiguity.
The good news is that work-around is no longer necessary starting with Sun
CC 5.4 (0x540).
On another hand, we still have some strange link issues. The linker
complains some symbols related to checked_deleleter<T> not being defined. We
managed to remove some of those by adding explict template instanation in
shared_ptr default constructor (sizeof(checked_deleter<T>);), but some
As anybody run into that ? This does not even happen on a determinist basis
(80% of the shared_ptr types work well).
----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Wednesday, May 21, 2003 11:47 AM
Subject: Re: [boost] Re: Patch for smart_ptr with Sun CC 5.3 to
> Baptiste Lepilleur wrote:
> >> Please ignore the previous patch, it was buggy (operator bool was
> >> implemented in term of operator !). This is fixed & tested now.
> I've already implemented something along these lines, please test the CVS
> version and report any problems that you find.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk