|
Boost : |
From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2003-09-08 09:00:18
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Peter Dimov
> Sent: Monday, September 08, 2003 6:26 AM
> To: Boost mailing list
> Subject: Re: [boost] problem with shared_ptr and volatile
[...]
> Nothing wrong. It is a bit unusual to new a volatile bool and in fact MSVC
> 6, for instance, won't let you delete it afterwards but it's legal. I'll
> fix
> shared_ptr in the CVS to allow it.
Thanks! Frankly, I doubt if MSVC 7.1 does anything different with a pointer
to volatile bool than it does wit a pointer to bool, but I thought you would
like to know that it didn't compile.
Brock
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk