$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] function_base.hpp type-punned pointer warnings
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-03-10 14:00:19
Justin wrote:
> I have run my patch on MSVC (8, 9, and 10) and GCC, and I do not recall
> seeing
> warnings from MSVC. Isn't p being used to call the destructor?
The warning probably only appears when trying to call the destructor of a
built-in type. I'm not sure whether Functor can be one in this context, so a
direct replacement may be safe.