Boost logo

Boost :

Subject: Re: [boost] [wave][function] Suppressing gcc-4.4.1 warnings
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-11-07 07:06:43

Gottlob Frege wrote:

> 1. Is
> static_cast<X *>(static_cast<void *>(&z))
> really any better than
> reinterpret_cast<X *>(&z)
> ?


> 2. What is left for reinterpret_cast to do? casting to/from ints to
> pointers, etc? (useful in lockfree programming, etc).


> Which would be better accomplished with unions I suppose.

No. :-)

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