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