|
From: Tom H. <th...@cy...> - 2003-11-11 23:46:36
|
In message <6.0...@po...>
Dennis Lubert <pla...@gm...> wrote:
> I have a program using a rather complex set of template classes. At one
> point I have a
> enum avl_tree_skew { avl_left, avl_right, avl_none = 0};
> so, note the 0. The program behaves totally fine when the = 0 is not there,
> but with, it behaves really really strange (Even segfault without valgrind).
You do realise that with the zero in there you are giving avl_left and
avl_none the same value, don't you?
Yom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|