mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Hindman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-2965) Add implicit cast to string operator to Path.
Date Mon, 06 Jul 2015 02:40:04 GMT

     [ https://issues.apache.org/jira/browse/MESOS-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Hindman updated MESOS-2965:
------------------------------------
    Summary: Add implicit cast to string operator to Path.  (was: Stout os functions don't
take Path )

> 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
>
> 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)

Mime
View raw message