Hi,
I've got an application where I can't allocate memory while using
protobufs. Arenas have been awesome for doing that. I'm able to allocate
a big block of memory at startup time or stack allocate memory for the
arena, and then use that for allocating protobufs. Thanks!
I'd like to be able t
Hi Josh,
Thanks for the reply. I was worried someone would say as much :)
Also, I am indeed using the C++ implementation. I'm very happy that this is
possible!
Thanks
Phil
On Tuesday, January 12, 2016 at 2:42:07 PM UTC-8, Josh Haberman wrote:
>
> Hi Phil,
>
> If you are not doing so already, I
On Thu, Jan 14, 2016 at 1:19 PM, Alfred Kwan wrote:
> I would like to check (via reflection) whether a particular field within a
> oneof. This is the example message:
>
> message Foo {
>oneof Bar {
> int32 A = 1;
> string B = 2;
>}
> }
>
>
>
> I browse through the .h and it se
I would like to check (via reflection) whether a particular field within a
oneof. This is the example message:
message Foo {
oneof Bar {
int32 A = 1;
string B = 2;
}
}
I browse through the .h and it seems like the only plausible check is to
examine it via Foo.GetReflection->