Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#621 closed request (wontfix)

Check that Matrix and friends fulfill requirement for Forward Container

Reported by: Peter Owned by: Peter
Priority: minor Milestone:
Component: utility Version: trunk
Keywords: Cc:

Description

Our containers: Matrix, Vector, views and lookups should fulfill the requirements described here:

http://www.sgi.com/tech/stl/ForwardContainer.html

Change History (2)

comment:1 Changed 11 years ago by Peter

Resolution: wontfix
Status: newclosed

can't see the point with this anymore.

Container is, for example,required to own is elements, which is nonsense for Views. We could add ::reference to the non-mutable containers as it is in, e.g., std::set, but I don't see the point with that. Algorithm that doesn't need to modify the reference should work on const_reference. If someone has counter-example when this would needed, I won't mind... but not now.

comment:2 Changed 11 years ago by Peter

Milestone: yat 0.7
Note: See TracTickets for help on using tickets.