On Wednesday, 21 November 2012 at 12:05:23 UTC, bearophile wrote: > In one case the function expects a pointer and in one case it > expects a int value. The assembly code of the two functions is > different and does different things. Of course. And it is mean that ref indeed is a part of type.