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

Use std::is_bind_expression to reroute the result of std::bind.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.27.0
    • libprocess
    • Mesosphere Sprint 25, Mesosphere Sprint 26

    Description

      The Standard (C++11 through 17) does not require std::bind's function call operator to SFINAE, and VS 2015's doesn't. std::is_bind_expression can be used to manually reroute bind expressions to the 1-arg overload, where (conveniently) the argument will be ignored if necessary.

      Attachments

        Activity

          People

            mcypark Michael Park
            mcypark Michael Park
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: