Am 04.11.2014 08:10, schrieb Alex Simonov:
Problem is in opDispatch method that allow such expressions as
is(typeof(Json.init.hgfhk111) == Json)
to be true. So myfunc
is called inside runTask loop with argumentconfig["move"]
that is undefined. Butvibe.core.core.needsMove(T)
condition already have fixme comment...
Argh! I didn't think of opDispatch
. The existing needsMove
implementation is just there because I failed to find a better solution.
Using !__traits(compiles, (){ T a, b; b = a; }())
unfortunately passes
for non-copyable types. I'll have to invest some more time to find an
alternative that makes the compiler happy.