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: 2015-05-28 18:26:51
#9754: boost::is_function VS compile error (for const operator function)
-------------------------------------+-------------------------------------
Reporter: Yaroslav Lukyanchuk | Owner: johnmaddock
<yarosladov@â¦> | Status: closed
Type: Bugs | Component: type_traits
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.55.0 | Keywords: boost::is_function,
Resolution: invalid | compile error
-------------------------------------+-------------------------------------
Changes (by johnmaddock):
* status: new => closed
* resolution: => invalid
Comment:
Double checking, I'm pretty sure the code is mal-formed, the correct form
is:
{{{boost::is_function<decltype(std::declval<Functor>()())>::value;}}}
Which does work just fine in your example.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9754#comment:2> 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:18 UTC