On 10/28/2010 1:24 AM, Jonathan M Davis wrote:
No, string literals are immutable(char)[]. The following code compiles w/ the latest beta:The problem is string literals. Aren't string literals immutable(char[])? It seems incredibly stupid to have to write
import std.string;
void main() {
bool result = startsWith("Foo", "Fo");
}
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta
