On Jul 15, 11 23:26, Lars T. Kyllingstad wrote:
> So here you have had to use Unqual > immutable(Unqual!C1)[] setExtension(C1, C2)(in C1[] path, in C2[] ext) > immutable(Unqual!C1)[] defaultExtension(C1, C2)(in C1[] path, in C2[] > ext) > > Instead of Unqual isn't it nicer to use a Deconst!() template?Hmm, I guess you're right. "shared" shouldn't be stripped, for instance.
Given that immutable( const(char) ) == immutable(char), I think the Unqual! should simply be removed.