On 04/16/2012 11:43 PM, bearophile wrote:
Timon Gehr:

auto c = AB(a, 20, numbers)<=>    AB c = {a, 20, numbers};

auto c = const(AB)(a, 20, numbers)<=>    const AB c = {a, 20, numbers};

I think your second equivalence is wrong:
const c = AB(a, 20, numbers)<=>    const AB c = {a, 20, numbers};

Bye,
bearophile

This is what DMD currently does. This behavior does not make any sense.

Reply via email to