[Boost-bugs] [Boost C++ Libraries] #6734: Default argument for transform_iterator constructor

Subject: [Boost-bugs] [Boost C++ Libraries] #6734: Default argument for transform_iterator constructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-26 12:24:25


#6734: Default argument for transform_iterator constructor
-------------------------------------------------+--------------------------
 Reporter: philipp.moeller@… | Owner: dave
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iterator
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: transform_iterator |
-------------------------------------------------+--------------------------
 The current non-default constructor version of transform_iterator is:

   transform_iterator(Iterator const& x, UnaryFunc f)

 this should be

   transform_iterator(Iterator const& x, UnaryFunc f = UnaryFunc())

 for better usability. Sometimes it is also not possible to know or
 extract the function that was used to define the transform_iterator
 easily, because there is no typedef for it inside transform_iterator.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6734>
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