----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15285/ -----------------------------------------------------------
(Updated Nov. 20, 2013, 9:26 p.m.) Review request for mesos, Benjamin Hindman and Ross Allen. Changes ------- Opening for https://issues.apache.org/jira/browse/MESOS-824 Repository: mesos-git Description ------- This patch adds a toString member function to the Flag structure which lets us iterate and fetch flag values. During flag initialization, the toString methods are closed over the flag value and option references. Flag values can't be closed over up front as flag values may be changed by user code arbitrarily. So toString takes in the owning flags instance as a FlagsBase pointer: toString(FlagsBase*). Diffs ----- 3rdparty/libprocess/3rdparty/stout/include/stout/flags/flag.hpp d31c984 3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp fcaa4e4 3rdparty/libprocess/3rdparty/stout/include/stout/flags/loader.hpp e5eaf24 Diff: https://reviews.apache.org/r/15285/diff/ Testing ------- make check Thanks, Niklas Nielsen
