You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/08/01 02:55:52 UTC

[GitHub] [incubator-brpc] gxkevin opened a new issue #867: 抽象类如何转换成object pool形式来管理

gxkevin opened a new issue #867: 抽象类如何转换成object pool形式来管理
URL: https://github.com/apache/incubator-brpc/issues/867
 
 
   google::protobuf::Message本身是一个abstract class,如何在一开始的时候,如何将这种形式的:
   std::unique_ptr<google::protobuf::Message> req;
   ret.reset(svc->GetRequestPrototype(method).New());
   
   转换成object pool形式来管理?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org