template castToUnsigned(x: int): uint
template castToUnsigned(x: int8): uint8
template castToUnsigned(x: int16): uint16
template castToUnsigned(x: int32): uint32
template castToUnsigned(x: int64): uint64
template castToUnsigned[T: SomeUnsignedInt](x: T): T
template forwardImpl(impl, arg) {.dirty.}