Re: [Boost-bugs] [Boost C++ Libraries] #8406: boost::_bi::result_traits should handle function pointers

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8406: boost::_bi::result_traits should handle function pointers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-05 16:02:41


#8406: boost::_bi::result_traits should handle function pointers
--------------------------------------+-------------------------------------
  Reporter: jason@… | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: bind
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by pdimov):

 The generic overload can't perform overload resolution. If you have

 {{{
 void f( int );
 void f( int, int );
 }}}

 then {{{boost::bind( f, 1 )}}} works and selects the first overload. This
 is not supported by {{{std::bind}}} but existing code that uses
 {{{boost::bind}}} relies on it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8406#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:12 UTC