----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63951/ -----------------------------------------------------------
(Updated Dec. 8, 2017, 4:51 p.m.) Review request for mesos, Benjamin Mahler and Michael Park. Repository: mesos Description ------- `noexcept` on move constructor and move assignment operator allows STL to use some optimizations, e.g. `std::vector` can move elements, when growing, rather than making copies. Specifically, `mesos::Resources::Resource_` generated constructor is deduced as `noexcept` after this change, improving performance of operations on `mesos::Resources`. Diffs (updated) ----- 3rdparty/stout/include/stout/option.hpp 32133f95654b9367bce5c354142b0ae91146ec3d Diff: https://reviews.apache.org/r/63951/diff/2/ Changes: https://reviews.apache.org/r/63951/diff/1-2/ Testing ------- make check Verified with ``` static_assert(std::is_nothrow_move_constructible<mesos::Resources::Resource_>::value, ""); ``` before and after changes. Thanks, Dmitry Zhuk
