Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9754: boost::is_function VS compile error (for const operator function)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-22 11:25:12
#9754: boost::is_function VS compile error (for const operator function)
-------------------------------------+-------------------------------------
Reporter: Yaroslav Lukyanchuk | Owner: johnmaddock
<yarosladov@â¦> | Status: new
Type: Bugs | Component: type_traits
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.55.0 | Keywords: boost::is_function,
Resolution: | compile error
-------------------------------------+-------------------------------------
Comment (by johnmaddock):
I'm not completely sure but I think there's a problem with your use of
decltype: gcc for example won't allow it to be used in this way (even if
you remove the is_function usage). If you pass the actual type of the
member function to is_function then there's no issue. So my suspicion is
that is_function is a bystander in this.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9754#comment:1> 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:16 UTC