Boost logo

Boost :

Subject: Re: [boost] [exception][msvc-7.1] regression and use of member template friends
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2010-02-22 00:59:21


On Sun, Feb 21, 2010 at 10:39 AM, JOAQUIN M. LOPEZ MUÑOZ <joaquin_at_[hidden]> wrote:
> But exception.hpp, presumably to speed up compilation times, does not
> include any other header, so seems like including <boost/config.hpp> just
> to get this macro could be unacceptable.

Yes, in my opinion not acceptable because this header is included by
boost/throw_exception.hpp, which in turn is typically included by any
Boost library that throws.

> If this is the case, I suggest that the
> code be changed so as to simply go public and omit the member template
> friend declarations altogether.

Going public might not be such a bad idea but I decided to just ifdef
for MSVC 7.1. Other poorly-conforming compilers aren't compatible with
Boost Exception anyway so this should be OK.

Revision 59837 should be fine, thanks for reporting this regression.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk