mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Hindman (JIRA)" <>
Subject [jira] [Updated] (MESOS-4221) Invoke _Deferred's implicit conversion operator explicitly.
Date Mon, 04 Jan 2016 19:11:40 GMT


Benjamin Hindman updated MESOS-4221:
    Sprint: Mesosphere Sprint 25, Mesosphere Sprint 26  (was: Mesosphere Sprint 25)

> Invoke _Deferred's implicit conversion operator explicitly.
> -----------------------------------------------------------
>                 Key: MESOS-4221
>                 URL:
>             Project: Mesos
>          Issue Type: Task
>          Components: libprocess
>            Reporter: Michael Park
>            Assignee: Michael Park
>              Labels: mesosphere
> As of VS 2015 Update 1, MSVC implements C++11 semantics for {{std::function}}'s {{Callable}}
constructor which does not SFINAE. In the short term, we call the implicit conversion operator
from {{_Deferred}} to {{std::function}} explicitly.
> Going forward, I propose to make {{_Deferred}} callable which will bring us to a state
where {{process::defer}} is similar to {{std::bind}} in that the objects returned from them
are "implementation-defined" (i.e., {{_Deferred}} and something like {{_Bind}}), and that
they were both callable. {{Deferred}} and {{std::function}} are similar in that they perform

This message was sent by Atlassian JIRA

View raw message