[Boost-bugs] [Boost C++ Libraries] #1310: [result_of] const-qualified function pointer doesn't work

Subject: [Boost-bugs] [Boost C++ Libraries] #1310: [result_of] const-qualified function pointer doesn't work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-10-10 07:42:35


#1310: [result_of] const-qualified function pointer doesn't work
---------------------------------------------------+------------------------
 Reporter: Shunsuke Sogame <pstade.mb_at_[hidden]> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: function
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
---------------------------------------------------+------------------------
 boost::result_of can't work with const-qualified function pointer.

 {{{
 typedef int (*pf_t)(int);
 typedef boost::result_of<pf_t(int)>::type result1_t; // ok
 typedef boost::result_of<pf_t const(int)>::type result2_t; // doesn't
 compile.
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1310>
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:49:56 UTC