Thanks for the tip about wrapnils.
That's cool I didn't you know you could do this without genericizing it:
template `?.`(a: ref | ptr | pointer, b): untyped =
RunWhat's this called? The or'ing of types.
Thanks for the tip about wrapnils.
That's cool I didn't you know you could do this without genericizing it:
template `?.`(a: ref | ptr | pointer, b): untyped =
RunWhat's this called? The or'ing of types.