You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2017/05/04 06:02:04 UTC
[jira] [Updated] (MESOS-4995) Make it possible to directly
defer/dispatch invocations of const member functions.
[ https://issues.apache.org/jira/browse/MESOS-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bannier updated MESOS-4995:
------------------------------------
Description:
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.
was:
Currently libprocess' {{defer}} provides 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}}, and leads to surprising API choices motivated only by limitations in low-level infrastructure (here: {{defer}}).
We should augument {{defer}} with overloads allowing to {{defer}} invocation of {{const}} member functions, and tighten up interfaces of existing code where possible.
Summary: Make it possible to directly defer/dispatch invocations of const member functions. (was: Make it possible to directly defer invocations of const member functions.)
> 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
> Assignee: Michael Park
> 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
(v6.3.15#6346)