[
https://issues.apache.org/jira/browse/MESOS-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Park reassigned MESOS-4995:
-----------------------------------
Assignee: (was: Michael Park)
> Make it possible to directly defer/dispatch invocations of const member
> functions.
> ----------------------------------------------------------------------------------
>
> Key: MESOS-4995
> URL: https://issues.apache.org/jira/browse/MESOS-4995
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: Benjamin Bannier
> Priority: Major
> Labels: mesosphere, newbie++
>
> Currently libprocess' {{defer}} and {{dispatch}} provide no overloads to
> invoke {{const}} member functions.
> This has lead to a situation where often effectively {{const}} getters are
> not made {{const}}, purely to allow straight-forward usage of {{defer}} or
> {{dispatch}}, and leads to surprising API choices motivated only by
> limitations in low-level infrastructure (here: {{defer}} and {{dispatch}}).
> We should augument {{defer}} and {{dispatch}} with overloads allowing to
> {{defer}} or {{dispatch}} invocation of {{const}} member functions, and
> tighten up interfaces of existing code where possible.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)