This works, but also creates an instance? 
    
    
    proc f[T: ref](): int {.compileTime.} = sizeof(T()[])
    
    
    Run

Reply via email to