On Saturday, June 01, 2013 22:23:22 =?UTF-8?B?Ikx1w61z?=.Marques <[email protected]>@puremagic.com wrote: > On Saturday, 1 June 2013 at 20:20:14 UTC, David Nadlinger wrote: > > There is no head const in D. > > So is having an "in char[]" the same as having an > immutable(char)[] / string?
"in char" is equivalent to "scope const char[]". The scope does not currently have any effect, but by having const char[], char[], const(char)[], and immutable(char)[] can all be passed to the loadLibrary, whereas if it accepted string, then only immutable(char)[] could be passed to it. - Jonathan M Davis
