Implicit concatenation of adjacent string literals

Cecil Ward cecil at cecilward.com
Sun Jun 25 20:54:10 UTC 2023


This is not supported in D and to concatenate string literals an 
explicit ‘~’ operator is required. I’m in two minds as to whether 
that is a good thing, and am not settling either way. I would be 
interested to know what the arguments were for and against, when 
this design aspect was chosen.


More information about the Digitalmars-d mailing list