Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4995

Make it possible to directly defer/dispatch invocations of const member functions.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libprocess

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbannier Benjamin Bannier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: