Boost logo

Boost :

Subject: Re: [boost] [result_of] now uses decltype on release branch
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-09-03 23:26:53


[Part 3 of 3]

Daniel Walker wrote:
> 3) Non-class prvalues and cv-qualification

Since this C++11 behavior was proposed later than N3276, it's possible that
there is a non-C++11-compliant compiler that implements N3276 but not (3).

Would it be better to emulate (3) when using decltype-based result_of?
But then boost::result_of returns different results than those of
std::result_of on compilers that do not implement (3).

Regards,
Michel


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