[ https://issues.apache.org/jira/browse/MESOS-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615301#comment-14615301 ]
Benjamin Mahler commented on MESOS-2965: ---------------------------------------- Moving things entirely towards Path (returning Paths, taking Paths as arguments) sounds great as well. > Add implicit cast to string operator to Path. > --------------------------------------------- > > Key: MESOS-2965 > URL: https://issues.apache.org/jira/browse/MESOS-2965 > Project: Mesos > Issue Type: Improvement > Components: stout > Reporter: Artem Harutyunyan > Assignee: Joseph Wu > Priority: Minor > Labels: beginner, mesosphere, newbie, stout > Fix For: 0.24.0 > > > For example: > {code}inline Try<Nothing> rm(const std::string& path){code} does not have an > overload for {code}inline Try<Nothing> rm(const Path& path){code} > The implementation should be something like: > {code} > inline Try<Nothing> rm(const Path& path) > { > rm(path.value); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)