Boost logo

Boost :

Subject: Re: [boost] boost/pool/pool.hpp why reinterpret_cast instead of static_cast?
From: David Abrahams (dave_at_[hidden])
Date: 2009-03-12 09:57:49

on Thu Mar 12 2009, Philippe Vaucher <> wrote:

>> It is my understanding that void* to T* convertions should be done using
>> static_cast and not reinterpret_cast.
> No one knows? No one cares?

I care; it's one of my favorite axen to grind. Yes, avoid
reinterpret_cast unless you really want implementation-defined behavior.

Dave Abrahams
BoostPro Computing

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