Is implicit string literal concatenation a good thing?

BCS none at anon.com
Sun Feb 22 13:04:34 PST 2009


Hello Bill,
> I use this feature pretty frequently to break up long strings. I think
> I didn't use ~ for that because it makes me think an allocation might
> happen when it doesn't need to.
> 


yah, the WILL-happen-at-compiletime bit is nice

> But after seeing the discussion here I'd be happy to switch to using
> "a"~"b" as long as it's guaranteed by the language that such strings
> will be concatenated at compile time.   (I think the is the case now,
> right?)

same here.

> 
> --bb
> 





More information about the Digitalmars-d mailing list