Stanislav Blinov: > Generally though, pure code generation issues aside, that is > one very strange swap function, bearophile :) What's strange on this? void swap(T)(ref T x, ref T y) pure nothrow { immutable aux = x; x = y; y = aux; } Bye, bearophile