Code: Select all
TYPE Win4BitInfoHeader FIELD = 1
fxm wrote:- About the non-member operator 'cast' declaration, I think that:
'declare operator cast (f as foo, b as bar) as foo'
must be corrected as:
'declare operator cast (b as bar) as foo'
fxm wrote:You can simply use an overloaded function (for example named '_cast()' or otherwise):