You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joris Van Remoortere (JIRA)" <ji...@apache.org> on 2015/06/02 10:05:02 UTC
[jira] [Updated] (MESOS-2757) Can't Use -> operator with Option
[ https://issues.apache.org/jira/browse/MESOS-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van Remoortere updated MESOS-2757:
----------------------------------------
Summary: Can't Use -> operator with Option<T> (was: Allow mutating T in Option<T>)
> Can't Use -> operator with Option<T>
> ------------------------------------
>
> Key: MESOS-2757
> URL: https://issues.apache.org/jira/browse/MESOS-2757
> Project: Mesos
> Issue Type: Improvement
> Components: stout
> Reporter: Joris Van Remoortere
> Assignee: Joris Van Remoortere
> Labels: c++11, option, stout
>
> Let's add some operator overloads to Option<T> to allow modification of the T in Option<T>. This way we can avoid code like:
> {code:title=decoder.hpp|borderStyle=solid}
> http::Pipe::Writer writer_ = writer.get(); // Remove const.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)