Opened 11 years ago
Closed 10 years ago
#6734 closed Bugs (invalid)
Default argument for transform_iterator constructor
Reported by: | Owned by: | Dave Abrahams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | iterator |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | transform_iterator | Cc: |
Description
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.
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Just saw the other constructor. My bug was cause by something else. This can be closed. Sorry for the noise.