The OpenD Programming Language

var.opCast

if(some_var) will call this and give behavior based on the dynamic type. Shouldn't be too surprising.

  1. bool opCast()
    struct var
    bool
    opCast
    (
    T : bool
    )
    ()
  2. T opCast()

Meta