On 24/10/2009 01:16, Justin Johansson wrote:
Sorry; subject line mod'ed  just so Ary doesn't miss it.

enum Color { private UNINITIALIZED = -1, RED, GREEN, BLUE }

(btw. Interestingly, typing this code into Eclipse with the Descent plug-in
causes a Java out of heap space malfunction.)


enum Color { RED, GREEN, BLUE }

void foo(Color* c) {
  if (c !is null) handleColor(*c);
}
what's the need for that UNINITIIALIZED member?

Reply via email to