how to assign to shared obj.systime?
mingwu at gmail.com
Fri Jul 10 05:12:06 UTC 2020
On Friday, 10 July 2020 at 03:01:20 UTC, mw wrote:
> On Friday, 10 July 2020 at 02:59:56 UTC, mw wrote:
>> Error: template std.datetime.systime.SysTime.opAssign cannot
>> deduce function from argument types !()(SysTime) shared,
>> candidates are:
>> opAssign()(auto ref const(SysTime) rhs)
> of course, better without casting.
looks like we still have to cast:
as of 2020, sigh.
More information about the Digitalmars-d-learn