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

Add implicit cast to string operator to Path.

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 13
    • 2

    Description

      For example:

      inline Try<Nothing> rm(const std::string& path)

      does not have an overload for

      inline Try<Nothing> rm(const Path& path)

      The implementation should be something like:

      inline Try<Nothing> rm(const Path& path)
      {
        rm(path.value);
      }
      

      Attachments

        Activity

          People

            kaysoky Joseph Wu
            hartem Artem Harutyunyan
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: