Re: [Boost-bugs] [Boost C++ Libraries] #4489: References to function object types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4489: References to function object types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-03 20:41:25


#4489: References to function object types
--------------------------------------+-------------------------------------
  Reporter: cschmidt | Owner: dgregor
      Type: Feature Requests | Status: new
 Milestone: Boost 1.44.0 | Component: utility
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Description changed by viboes:

Old description:

> The current implementation of boost::result_of permits Fn in
> boost::result_of<Fn(Args...)> to be a reference to a class type.
> I would like to see that changed. Allowing reference-qualified function
> object types would be in useful with c++11's explicit reference
> qualification of member functions (n3090 / 13.3.1/4), and this change
> would bring boost::result_of more in line with c++11's std::result_of,
> which does allow "reference[s] to function object type[s]" (n3090 /
> 20.7.6.6)

New description:

 The current implementation of boost::result_of doesn't permit Fn in
 boost::result_of<Fn(Args...)> to be a reference to a class type.
 I would like to see that changed. Allowing reference-qualified function
 object types would be in useful with c++11's explicit reference
 qualification of member functions (n3090 / 13.3.1/4), and this change
 would bring boost::result_of more in line with c++11's std::result_of,
 which does allow "reference[s] to function object type[s]" (n3090 /
 20.7.6.6)

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4489#comment:3>
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:09 UTC