how to assign to shared obj.systime?

mw mingwu at
Fri Jul 10 03:01:20 UTC 2020

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:
> /usr/include/dmd/phobos/std/datetime/systime.d(659,17):        
> opAssign()(auto ref const(SysTime) rhs)

of course, better without casting.

More information about the Digitalmars-d-learn mailing list