Opened 13 years ago

Closed 13 years ago

#606 closed defect (fixed)

utility::WeightedIterator lacks default constructor

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.6
Component: utility Version: trunk
Keywords: Cc:

Description

According to SGI even a trivial iterator should be assignable, default constructable, and equality comparable.

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

I think WeightedIterator should fulfill these requirements.

Change History (2)

comment:1 Changed 13 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newassigned

comment:2 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2167]) Added tests that iterators have default constructor and operator==

Added default constructor for DataIterator?, WeightIterator? and WeightedIterator?. fixes #606.

Note: See TracTickets for help on using tickets.