Deprecation of implicit string concatenation

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 2 02:47:52 PDT 2017


On 2017-04-02 11:22, Johan Engelen wrote:
> Since 2.072, implicit string concatenation is deprecated [1].
> Can someone give me a link to the discussion about this?
>
> I am wondering about the language spec changes involved.
>
> ```
>   "abc"
>   "def"
> ```
> means something different than
> ```
>   "abc"
>   ~ "def"
> ```
> right? (for example because opBinary!(“~”) can be overloaded)

It's not possible to overload operators for the built in types, or am I 
missing something?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list