Are all string literals that have the same value initialized to the same 
address?

void main() {
        string same() {
                return "This";
        }
        assert("This" is same());
        assert("This" is "This");
}


Can this be relied upon?

Reply via email to