Boost logo

Boost :

Subject: Re: [boost] [result_of] Regression: compilation errors on C++03 compilers when defining BOOST_RESULT_OF_USE_DECLTYPE
From: Eric Niebler (eric_at_[hidden])
Date: 2012-04-25 02:12:47

On 4/24/2012 3:14 PM, Michel Morin wrote:
> boost::result_of tries to use decltype-based implementation
> even on C++03 compilers. This causes compilation errors
> and it is a regression on C++03 compilers.
> Is it intentional change?

I did intend this change. My thinking was: if Boost.Config is out of
date or wrong about the presence of decltype for a particular tool
chain, there should be a way for users to override it. But I can also
see how this could cause trouble. Thoughts?

Eric Niebler
BoostPro Computing

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