I think you can maintain a map,  using protobuf message default_instance() 
 as the key.
std::map<::google::protobuf::Message*, Pool>

在 2013年1月1日星期二UTC+8上午4时41分11秒,Ahmed Charfeddine写道:
>
> Hello,
>
> Any recommendations, on how to make protobuf objects poolable ?
>
>

-- 
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 
protobuf+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to