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

(Updated Dec. 11, 2013, 12:26 a.m.)


Review request for mesos, Benjamin Hindman, Ben Mahler, and Jiang Yan Xu.


Changes
-------

BenM's comments. Added max as well.


Summary (updated)
-----------------

Added min/max functions to stout which take two Options.


Repository: mesos-git


Description (updated)
-------

See summary. It will be useful when you wanna keep track of the global min (or 
max). For example:

Option<int> lowest;

foreach (int value, values) {
  lowest = min(lowest, value);
}


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/Makefile.am f9d1aed 
  3rdparty/libprocess/3rdparty/stout/Makefile.am 3e22851 
  3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp 42b75a5 
  3rdparty/libprocess/3rdparty/stout/tests/option_tests.cpp PRE-CREATION 

Diff: https://reviews.apache.org/r/16158/diff/


Testing
-------

make check


Thanks,

Jie Yu

Reply via email to