Re: [Boost-bugs] [Boost C++ Libraries] #7343: Extend result_of to work with SFINAE

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7343: Extend result_of to work with SFINAE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-23 01:47:50


#7343: Extend result_of to work with SFINAE
-------------------------------+--------------------------------------------
  Reporter: djwalker | Owner: djwalker
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: utility
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: result_of, decltype, SFINAE
-------------------------------+--------------------------------------------

Comment (by michel):

 gcc has
 {{{
 #pragma GCC diagnostic ignored "-Wxxxx"
 }}}
 but, before gcc 4.6, the following is not supported.
 {{{
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wxxxx"
 #pragma GCC diagnostic pop
 }}}
 So we cannot restore the user's warning conditions.

 Another way to disable warnings is add
 {{{
 #pragma GCC system_header
 }}}
 Adding this pragma into `result_of.hpp` or `result_of_iterate.hpp` removes
 the warning.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7343#comment:21>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC