On Mon, 23 Oct 2017 18:38:38 GMT, Alexey Kulentsov wrote:
Is this really needs for tid() method to be mutable? I want to make something like this:
void fn(const Task task) { ... taskIdToStore = task.tid.toString; .... }
and can't because of 'mutable method vibe.core.task.Task.tid is not callable using a const object'
The method itself can be made inout
, but the problem is that, AFAICS, a const(Tid)
isn't usable for sending or receiving messages either.