2021年3月21日星期日

Why does GRPC generate template classes?

In the abstract it's odd for a code generator to generate types for c++'s own code generation techniques rather than just generating the required code. Why does GRPC do this? Why not just further parameterize the grpc code generator (protoc + grpc_cpp_plugin) to generate the required entry points?

I'm mostly wondering if more experienced grpc users have found benefits of this code generation inception or if it was just a mistake in the implementation of grpc.

https://stackoverflow.com/questions/66726462/why-does-grpc-generate-template-classes March 21, 2021 at 05:04AM

没有评论:

发表评论