© { JSL }
100
Conversions
·
must be
public
and
static
·
must be
implicit
or
explicit
w
implicit
: compiler can call, should never throw
w
explicit :
compiler can't call, cast required, may
throw
struct
DBaseBool
{
public static
implicit operator
DBbaseBool (
bool
from)
...
public static
explicit operator bool
(DBbaseBool from)
...
}