Honestly, I have no problem with this. The type of string literal isimmutable(char)[], so having to dup it makes sense.
Problem is that literal with has a known fixed size results in dynamic array instead of a static stack-allocated one.
Honestly, I have no problem with this. The type of string literal isimmutable(char)[], so having to dup it makes sense.
Problem is that literal with has a known fixed size results in dynamic array instead of a static stack-allocated one.