mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <bmah...@apache.org>
Subject Re: Review Request 70171: Added `Try` constructors from `_Some`.
Date Mon, 11 Mar 2019 22:45:37 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70171/#review213608
-----------------------------------------------------------


Ship it!




Ship It!

- Benjamin Mahler


On March 9, 2019, 1:56 a.m., Meng Zhu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/70171/
> -----------------------------------------------------------
> 
> (Updated March 9, 2019, 1:56 a.m.)
> 
> 
> Review request for mesos, Benjamin Bannier and Benjamin Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This is necessary in cases such as constructing
> `Result<T>` from `T`:
> ```
>   Result(const T& _t)
>     : data(Some(_t)) {}
> ```
> to avoid unnecessary implicit conversions and copies.
> 
> 
> Diffs
> -----
> 
>   3rdparty/stout/include/stout/try.hpp 30cce7e27fa040d0ce5a86efc4820f8c39178444 
> 
> 
> Diff: https://reviews.apache.org/r/70171/diff/1/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Meng Zhu
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message