GitHub user jeking3 opened a pull request:
https://github.com/apache/thrift/pull/1172
THRIFT-4060 add better support in the cpp generator for custom ostream
operators on structures
This pull request adds support for an annotation that will disable the emit
code for operator << and printTo, allowing a custom streaming output format to
be provided by the consuming application.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jeking3/thrift THRIFT-4060
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1172.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1172
----
commit db4cb328a374a75c91cf70c61a808b68a54f8699
Author: James E. King, III <[email protected]>
Date: 2017-01-30T20:51:42Z
THRIFT-4060 add better support in the cpp generator for custom ostream
operators on structures
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---