Hi, Kenton,

I am not familiar with protobuf compiler, so my comment may be off.

Since existing code does something like this.

static class Foo {
  Foo() { ... }
} foo;

What you can do it like this

static class Foo {
} foo;

Inside ~Foo(), you can do a check if (xxx), where xxx is a global
variable. I wonder if it will be easier to implement.


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to