[C++-sig] weird bug of addressof<T> in MSVC 7

David Abrahams dave at boost-consulting.com
Wed Jan 8 18:21:29 CET 2003


"Nicolas Lelong" <n_lelong at hotmail.com> writes:

> Hi,
>
> I stumbled upon a weird compilation error due to function 'addressof' in
> MSVC7. Here is my test case :
>
> Any thoughts ?

Definitely a compiler bug.  I've checked in a workaround to
boost/utility/addressof.hpp.

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list