This works, but also creates an instance?
proc f[T: ref](): int {.compileTime.} = sizeof(T()[])
Run
- sizeof a ref object type vitreo12
- Re: sizeof a ref object type roel
- Re: sizeof a ref object type vitreo12
- Re: sizeof a ref object type mratsim
- Re: sizeof a ref object type roel
- Re: sizeof a ref object type jyapayne
