Closed GoogleCodeExporter closed 9 years ago
Possible reason is:
const Node::operator[ key ] returns Node( ZombieNode ) when specified key does
not exist
Node( ZombieNode ).m_isValid == false
When trying to call Node( ZombieNode )::operator bool() with m_isValid == false
exception InvalidNode is thrown
(see Node::IsDefined() const)
If Node( ZombieNode ) is not valid node, then it's incorrect to return such
value at const Node::operator[ key ]
If Node( ZombieNode ) is valid, then it's necessary to change the constructor
Node( Zombie )
Original comment by Dmitry.S...@gmail.com
on 20 Mar 2015 at 8:41
Thanks for the report!
Original comment by jbe...@gmail.com
on 20 Mar 2015 at 3:57
Fixed, r70dd741dc8cb.
Original comment by jbe...@gmail.com
on 29 Mar 2015 at 7:33
Original issue reported on code.google.com by
Dmitry.S...@gmail.com
on 20 Mar 2015 at 6:45