Opened 17 years ago

Closed 17 years ago

#555 closed Bugs (None)

transform_iterator documentation ignores operator->

Reported by: eelis Owned by: david_abrahams
Milestone: Component: iterator
Version: None Severity:
Keywords: Cc:

Description

In the transform_iterator documentation, the "abstract"
section states that "The transform iterator adapts an
iterator by modifying the operator* to apply a function
object to the result of dereferencing the iterator and
returning the result.". It seems a bit strange to me to
mention operator* but not operator->, which is modified
in the exact same way.

Then, in the "synopsis" section, operator* is listed
but operator-> is not, even though it is definitely
part of the interface (otherwise transform_iterator
cannot model the concepts that it claims to model in
the "models" section on the same page).

Change History (2)

comment:1 by david_abrahams, 17 years ago

Logged In: YES 
user_id=52572

The abstract is an abstract; it doesn't need to describe
every detail.  The idea is that you can understand what the
component does.  I agree that the synopsis should probably
list operator->.  Doc patches gratefully accepted.

comment:2 by sf-robot, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Note: See TracTickets for help on using tickets.