$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-14 13:56:52
Eric Niebler wrote:
>> +// Borland doesn't like casting an array reference to a char
>> reference +// but thes overloads work around the problem.
>> +# if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
>> +template<typename T,std::size_t N>
>> +T (*addressof(T (&t)[N]))[N]
>> +{
>> + return reinterpret_cast<T(*)[N]>(&t);
>> +}
Why are you reinterpret_casting &t to itself? Is this a Borland problem as
well?