Re: [Boost-bugs] [Boost C++ Libraries] #5127: Incorrect result_of usage in transform_iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5127: Incorrect result_of usage in transform_iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-21 14:57:20


#5127: Incorrect result_of usage in transform_iterator
--------------------------------------+-------------------------------------
  Reporter: mimomorin@… | Owner: dave
      Type: Patches | Status: closed
 Milestone: Boost 1.47.0 | Component: iterator
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords: transform_iterator
--------------------------------------+-------------------------------------

Comment (by michel):

 Replying to [comment:7 TLBettens@…]:
> This change went into release 1-50_0 and now causes a warning message to
 be emitted in Visual C++ version 10, perhaps others versions as well.
>
> Compiler warning message:
>
> {{{
> c:\boostbuilding\boost_1_50_0\boost\iterator\transform_iterator.hpp(49):
> warning C4180: qualifier applied to function type has no meaning;
 ignored
> }}}

 Thanks for the report.

 Hmm, it's strange...
 IIUC, `UnaryFunc` cannot be a function type.
 Could you post a (minimal) reproducible code for this problem?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5127#comment:9>
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:10 UTC