On 05/20/2015 06:30 AM, Ilia Mirkin wrote: > + typedef const iterator const_iterator; > + This at least is wrong. A const iterator allows *iter = val, a const_iterator doesn't. A const_iterator allows ++, a const iterator doesn't. -- Petri Latvala