-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSDK-9556 Forward declarations for grpc Client stuff #341
Conversation
// Forward declaration file for grpc ClientContext and ClientReaderInterface<T>. | ||
// This file provides includes for recent (>= 1.32.0) versions of grpc. | ||
|
||
namespace grpc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(q) why is the namespace grpc
here but grpc_impl
in the else
case below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In recent versions of grpc the classes are defined in namespace grpc
, but in the oldest two versions we support the class definitions are in namespace grpc_impl
and typedef
'd into namespace grpc
, which is incompatible with forward declaring the classes in namespace grpc
this is based off the currently open misc-proto-update branch