[ https://issues.apache.org/jira/browse/MESOS-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rukletsov updated MESOS-4995: --------------------------------------- Summary: Make it possible to directly defer invocations of const member functions. (was: Make it possible to directly defer invocations of const member functions) > Make it possible to directly defer 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 > Labels: mesosphere, newbie++ > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)