----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37826/#review97693 -----------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/protobuf.hpp (line 592) <https://reviews.apache.org/r/37826/#comment153702> Do we want to support the following? ```cpp using google::protobuf::RepeatedPtrField; auto parse = protobuf::parse<RepeatedPtrField<RepeatedPtrField<T>>>(array_of_array); ``` I think we might want to disallow it since it seems that protobuf definitions cannot express "array of array" (maybe there actually is a way to do that?). If we do want to disallow it, we should include the following check at the top. ```cpp { google::protobuf::Message* message = (T*) NULL; (void) message; } ``` 3rdparty/libprocess/3rdparty/stout/include/stout/protobuf.hpp (line 601) <https://reviews.apache.org/r/37826/#comment153704> `s/proagate/propagate/` 3rdparty/libprocess/3rdparty/stout/include/stout/protobuf.hpp (line 604) <https://reviews.apache.org/r/37826/#comment153703> Remove this newline. - Michael Park On Sept. 3, 2015, 1:32 p.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37826/ > ----------------------------------------------------------- > > (Updated Sept. 3, 2015, 1:32 p.m.) > > > Review request for mesos, Joseph Wu and Michael Park. > > > Bugs: MESOS-3312 > https://issues.apache.org/jira/browse/MESOS-3312 > > > Repository: mesos > > > Description > ------- > > See summary. > > > Diffs > ----- > > 3rdparty/libprocess/3rdparty/stout/include/stout/protobuf.hpp > 57d5fdf45273c620655b44b5f5572290cffa4bf6 > > Diff: https://reviews.apache.org/r/37826/diff/ > > > Testing > ------- > > make check (Mac OS 10.10.4) > > > Thanks, > > Alexander Rukletsov > >
