DIP 1025--Dynamic Arrays Only Shrink, Never Grow--Community Review Round 1

jmh530 john.michael.hall at gmail.com
Tue Nov 12 17:39:45 UTC 2019


On Tuesday, 12 November 2019 at 15:59:57 UTC, jmh530 wrote:
> [snip]
>
>     @disable T[] opBinary(string op)(U rhs)
>         if (op == "~")
>     {
>         return data ~ rhs;
>     }
>
>     @disable T[] opBinary(string op)(U[] rhs)
>         if (op == "~")
>     {
>         return data ~ rhs;
>     }
>
> [snip]

Small error here
T[] opBinary
should be
T opBinary


More information about the Digitalmars-d mailing list